Enabling Facebook Comments in WordPress

Watch out! This tutorial is over 7 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.
Tutorial Difficulty Level    

It is possible to use the comments system built into Facebook directly on your WordPress site. But why would you want to do this?

Facebook Comments (or the comments system from any of the other major platforms for that matter) provides what we think is the perfect social ecosystem. Embedded Comments Systems from Social Media provide all of the elements that are important to us:

  • Powerful and simple commenting
  • Easy team-based comment moderation
  • Significantly reduced spam (user is already authorized and verified as a real person)
  • Higher quality and more relevant comments/discussion
  • Automated sharing of the blog entry on the Social Platform

The last item is a significant one. Unlike a Like, for example, a comment created with Facebook’s social plugin creates a more compelling shared item on their network and on our blog. When a person writes a comment it engages other readers, and engaged readers are more likely to reply to a comment than a Like. Not only that, if someone replies to a comment on the blog, it’s instantly included on the Facebook mention in the user’s profile and News Feed, and vice-versa.

Facebook comments WordPress

After installing the plugin, you will need to visit https://developers.facebook.com/apps and create what is known as an “App ID” (you’ll most likely need to register yourself as a developer before you can do this).

It’s quite straight-forward, just be sure to note the App ID (which you will need) and App Secret (which you may need, depending on the plugin).

The other thing you will need to is going into “App Review” (see left hand menu) and make your app Public.

You are now ready to configure your comments plugin (and you are now officially a Facebook Developer, believe it or not).

Enter the App ID and alter any other settings you wish. Save and go check out your new comments feature on the frontend!

Note: Some themes might require modification of the single post template (single.php) in your theme directory to allow the comments to embed.