Syncing comments between Facebook and WordPress

I’m working on implementing a two-way sync for a website that started as a Facebook fan page years ago and now is going to be run primarily off site.

Right now here’s the process I’m using:

Read More
  1. Import Posts + Comments from the Graph API. Posts are stored as WordPress posts, comments are stored as WordPress comments and some additional data such as Facebook Post ID or Post Author are stored in the post meta.
  2. I’ve created a second submission form (only admin can submit posts from WordPress site) that uses the Graph API to post directly to the fan page, then run the importer so that when the post is first entered into the database, it already has it’s FB_POST_ID attached.
  3. Comments from Facebook are easily updated and added to WordPress. FB-Connect allows Facebook users to login and comment on the WordPress but those comments are not synced with Facebook as I can’t attach a user comment to a Facebook post via the Graph API (I can’t control other users).

Has anyone run into anything similar or have other ideas for how I could achieve a “two-way” sync? (Quotes as my current setup is technically one-way that mimics two-way. New posts bypass WordPress then get synced from Facebook).

Related posts

Leave a Reply

3 comments

  1. I’m working on a similar 2-way sync project. There isn’t a way to sync comments (at least none that I can find). The way this has been accomplished is to create a new Facebook application and thus you comment thru the app, not Facebook’s native comments, e.g. WPbook. Obviously, it’s not ideal.

  2. Wordbooker is another plugin that can accomplish what you’re looking for — when someone posts on Facebook, the comment is imported into WordPress, and when someone comments on WordPress, the comment is exported to the Facebook post too. The developer is fairly responsive if you have any issues setting it up.