It seems that everyone is on facebook these days, and for many of us, to stay connected and drive users to our own site, we cross-post our entries to facebook.
However, when you cross-post, the comments on facebook don't show up on your website, and the comments on your website don't show up on facebook - you have two seperate groups of people interacting with your post but not interacting with each other.
This plugin aims to solve that problem.
This plugin used the facebook API to automaticly cross-post your entry to facebook, and then replace the comments functionality for that entry with a facebook comments box that includes the discussion both on your wall AND on your own website.
In more plain terms, you will have one set of comments, shared between facebook and your own website.
- Upload the entire plugin directory to /wp-content/plugins/fb-shared-comments/
- Activate the plugin through the plugins directory in WordPress
- Get a facebook api key:
- Visit the Facebook application creation page http://www.facebook.com/developers/createapp.php
- Enter a descriptive name for your blog in the Application Name field. This will be seen by users when they sign up for your site.
- Accept the Facebook Terms of Service.
- Upload icon and logo images. The icon appears in News Feed stories and the logo appears in the Connect dialog when the user connects with your site.
- Click Submit.
- Enter the API Key and Application Secret into the settings page for the plugin.
- Modify the tag in your theme to include the fbml namespace. In the default theme, you will need to modify header.html. It will look something like this when completed - you are adding the xmlns:fb part:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
1. Add this line to your comments.php, just under the 'You can start editing' line:
<?php if ( apply_filters('facebook_comments', false)) { return; } ?>
1. You may now cross-post to facebook using the new box on the edit entry page in Wordpress.