Is it possible to pull comments from facebook into your blog?

I have a client who wants to be able to share his latest blog posts on Facebook (no problem there) but then he wants the comments made on his Facebook page to that share shown on his blog as part of the comments on the blog post.

I have been digging around and while I can find ways to let users comment on your blog using Facebook’s api (http://developers.facebook.com/blog/post/198) I can find nothing that pulls comments from Facebook to display on your site.

The closest I could come is this http://wordpress.org/extend/plugins/facebook-comments/ which according to its developer is broken and can only be fixed by ‘screen scraping’ Facebook which, of course, is against Facebooks TOS.

Does anyone know if there is a working plugin, or a relatively simple method to get this done?

5

I just added this feature to the beta branch of Simple Facebook Connect. It pulls comments back from auto-published stories and integrates them into the normal comments stream.

Features:

  • Integrated with Auto-Publish. When you post, and it’s auto-published to your Page or Profile, SFC notices and saves the resulting story IDs for later polling.
  • Fast. Every 6 hours (maximum), comments are pulled from Facebook and cached locally. Comments are only pulled when needed, if nobody’s looking at old posts, then FB comments are not pulled for it.
  • The comments are added to the normal comments listing.
  • FB Avatars are displayed for them.
  • A “facebook” class is added to these comments for separate styling.
  • Works with user comments or “Page” comments.

TODO List for this:

  • Add a link back to the FB comment so people can reply there instead

You can get the current (mostly working) beta of SFC here: http://plugins.svn.wordpress.org/simple-facebook-connect/branches/new-sfc/

Leave a Comment