Linux 软件免费装

Facebook Shared Comments

开发者 vericgar
更新时间 2010年1月2日 03:09
PHP版本: 2.7.1 及以上
WordPress版本: 2.8.5

标签

comments facebook cross-post

下载

1.0 1.1

详情介绍:

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.

安装:

  1. Upload the entire plugin directory to /wp-content/plugins/fb-shared-comments/
  2. Activate the plugin through the plugins directory in WordPress
  3. Get a facebook api key:
  4. Visit the Facebook application creation page http://www.facebook.com/developers/createapp.php
  5. 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.
  6. Accept the Facebook Terms of Service.
  7. 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.
  8. Click Submit.
  9. Enter the API Key and Application Secret into the settings page for the plugin.
  10. 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.

更新日志:

1.1 1.0