Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

  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).

like image 236
Anders H Avatar asked Nov 21 '10 21:11

Anders H


1 Answers

This question is a bit old, but I actually got here from the official Facebook comments plugin page so I'm answering.

There is a plugin called WP-FB Comments

It's working fine, you can read my experience with it on my blog (currently trying out Livefyre so you wont see it in action)

like image 175
MarkG Avatar answered Oct 15 '22 07:10

MarkG