Posted in January 2017
Facebook Comments can be a great tool to increase the social sharing of posts. When people leave a comment, it will be shared on Facebook. Since most people are already logged into their Facebook accounts, you’re also simplify their commenting experience.
There’s no need to install a plugin – it only takes a few lines of code.
We are replacing the WordPress comment area with the Facebook comments code. My example below shows how to implement it in Genesis, but this can easily be applied to any theme.
You can also specify an admin who can moderate comments by placing a meta tag in the document’s head that contains your Facebook ID (use this site to find your Facebook ID).
Alternatively, you can create a Facebook app and specify your App ID in the document’s head. This lets you have multiple administrators for your site’s comments (all the admins of your Facebook app). You’ll also get access to a moderating interface.
Now that you’re using Facebook Comments instead of standard WordPress comments ,the WordPress functions for displaying comment count won’t know the actual count. I recommend installing EA Share Count, which collects the share counts across multiple services, including Facebook Comments. Then use the following code to change the WordPress comment count to use the Facebook comments: