Facebook Comments for WordPress “Invalid Application ID” Error

HollowDevelopers uses the Facebook Comments for WordPress plugin, which helps reduce comment spam and allows for more active user engagement.  It has worked well for the past few years, but the plugin hit the deadpool a while ago, with no updates since 2011.

For a while now, the plugin has stated that the application ID entered in the settings was invalid.  This wasn’t true, obviously, as the comments functionality still worked.  So, the error was more of an annoyance than a real problem.  However, after a few minutes of research, a quick resolution was found in the comments on the plugin’s homepage via a contributor.

It turns out that a one line change in the plugin code will fix it:

  • Open facebook-comments-admin.php code.  Scroll down to line 78 — $needle = ‘wall’;
  • Replace the line with — $needle = ‘<title id=”pageTitle”>Facebook</title>’;
  • Save

Hope this helps others that may be having the same problem!

Share this page:
  • Facebook
  • Twitter
  • Reddit
  • Google Bookmarks
  • email
  • Print
  • RSS
  • Digg
  • StumbleUpon
  • del.icio.us
  • Slashdot
  • Technorati
  • Tumblr

Steven Michaels

Steven Michaels specializes in PHP web applications utilizing MediaWiki, WordPress, Yii Framework and others. He is an open source contributor and leads development for both of Hollow Developers' internal projects, HollowGame and SpeechEase.

Facebook comments:

Leave a Reply