Facebook Comments for WordPress 1.5.2
This plugin integrates the Facebook commenting system right into your website. If a reader is logged into Facebook while
viewing any comment-enabled page or post, they’ll be able to leave a comment using their Facebook profile. Non-Facebook
users can post with a valid email address
Unzip facebook-comments-for-wordpress.1.5.2.zip to your /wp-content/plugins/ directory
Activate the plugin through the Plugins menu in WordPress
Setup the plugin options by using the Facebook Comments page (located under the Settings menu)
Note that a Facebook application ID is required. For details on how to get one, including a screenshot walkthrough,
check out http://grahamswan.com/facebook-comments
In order to keep your comments through upgrades, you must set a unique XID. This XID will be maintained when you
upgrade the plugin
How do I manually insert the Facebook comments in my theme?
Simply add the following code where you’d like the comments to show up: <?php if (function_exists(‘facebook_comments’))
Note that you’ll still need a valid Facebook application ID and a unique XID for the comments to show up. Also, since
the post ID is appended to the XID, the comments will still be unique for each page (so you can’t use them as a shoutbox
in your sidebar or something).
Can I have the Facebook comments show up after the WordPress comments?
From your WordPress Dashboard, go to Appearance -> Editor
Select the Single Post (single.php) template from the list on the right-hand side
Insert the following code somewhere between <?php comments_template(); ?> and <?php endwhile; else: ?>: <?php if (function_exists(‘facebook_comments’)) facebook_comments(); ?>
<?php comments_template(); ?>
<?php if (function_exists(‘facebook_comments’)) facebook_comments(); ?>
<?php endwhile; else: ?>
The Facebook comments box isn’t loading on my site. What’s wrong?
Ensure you’ve entered a valid Facebook application ID in your settings. A walkthrough on how to obtain one is available
Note: If you have other Facebook-related plugins enabled, they may conflict with your comments.
I’m receiving a “Database Down” error when I try to post. How do I fix this?
Try disabling any other Facebook-related plugins running on your site. They often cause conflicts that disrupt the
communication between the comments and Facebook’s servers.
Why do my comments take a few seconds to show up?
The Facebook comments widget has to query Facebook’s servers to retrieve the appropriate comments. This can take up to 10
seconds. If they still haven’t shown up after that time, refresh the page.
What’s an XID and why do I need one?
Every set of Facebook comments requires a unique XID so Facebook can keep track of which comments belong to which pages.
This plugin takes your XID (which was randomly generated when you activated the plugin) and appends _post<postId> to
it, thereby ensuring a unique XID for each post.
XIDs are maintained when you upgrade this plugin.
Note that if you change the post ID manually, your Facebook comments will no longer show up because for that particular
post because that also causes your XID to change.
No comments yet.