2009
09.25

Plugins

Facebook CommentsTNG:Screen shot 2009-10-02 at 11.48.58 PM

Facebook CommentsTNG is a plugin for your WordPress blog that will spider your notes page and find imported WordPress blogs and bring the comments back into WordPress. This is a complete rewrite from the original but I did borrow some ideas from it. Kudos to the original authors for their initial effort and for their plugin giving me the motivation to write this one!

Features:

  • Will recursively scan through all notes and bring in comments
  • Test mode to see what would be imported without risking the database
  • Uses simple html dom which means it’ll be easier to fix if Facebook changes
  • Limit option to limit how far it goes back
  • Timed automatic scanning
  • Set what note you want it to start on
  • E-mail field for setting a custom e-mail, The default is facebook at philtopia dot com which has a Gravatar set up with a Facebook picture
  • Plugin can crawl your notes despite language set
  • Plugin can get accurate post time from Facebook
  • Auto approval of comments (make sure the plugin works for you before you turn this on)
  • Option to link to generic facebook.com or directly to the profile of the commenter
  • Now supports Facebook Pages!

FAQ

Facebook alerted me that an unknown device tried to log in and the plugin doesn’t work

When you have the higher security options enabled in Facebook it can prevent use of this plugin you can modify your settings in Facebook under Accounts > Account security. Login Approval should be unchecked if you want uninterupted use of the plugin

This isn’t working

Make sure you have the latest version however you should keep in mind that this program is scraping a website for data and if that website changes it can compromise the functionality of the plugin. This plugin is written in the spare time of one person who has a new set of twins to also care for so when major issues occur it may take time to resolve. Your paitence is appreciated.

I just activated First names only and now I have duplicates

If you do this before running a test or update the old comments will not be upgraded with fb ID’s and they will be seen as new comments. You can remove the duplicates and they will not duplicate again

How do I get the Page ID of a Facebook page

Log into Facebook and click ads and pages. Then grab the id from your URL http://www.facebook.com/home.php#!/pages/edit/?id=123456 <- 123456 would be the ID

It told me it ran out of memory with a fatal error

In most cases this has been corrected however it can still happen. Try to limit your crawl, I set mine to 10 for example. If you need the older comments you can change the start page to get them then change it back, historically facebook people only comment on new things anyways. If you are using filters or notifiers that handle comments as they come in this may double the load and cause an issue

I get Parse error: syntax error, unexpected T_OBJECT_OPERATOR

You are not running PHP 5 and unfortunately this plugin requires it

Why doesnt this work with….

That is not the purpose of it, it only works with facebook notes, not any plugins that pull WP into facebook, status updates, wall posts etc. Once again it ONLY works with default imported facebook notes


Screen shot 2009-10-02 at 11.50.59 PM

Working on for next version:

  • Ideas welcome

Download: Facebook CommentsTNG

Development takes time and every bit helps!

  1. Plugin’s still alive and kicking. Thanks for your help :D

    Does “Update e-mail addresses” do anything? When I click it, it just goes to a white screen.

  2. No idea, I haven’t clicked that button in 1.5 years. its only purpose is if you want to use your own gravatar instead of my default on to change the e-mails in the database

  3. [...] Facebook Comments NTG – plugin-ul ăsta trage comentariile de pe Facebook, de la notele pe care le-ai publicat prin feed-ul RSS. Util dacă vrei să muți conversații de pe Facebook înapoi pe blog. [...]

  4. [...] the data you have posted on it, so there is no direct way to get the comments of a Note. Plugin Facebook Comments TNG by Phil Spencer comes to the rescue. It will spider the note page for comments, match them to your [...]

  5. Dear Phil, thank you for a great plugin! Since Facebook doesnt seem to be very trustworhy in terms of regularly parsing an imported-to-Notes RSS feed, are you aware of any plugin that will publish a wordpress post as a facebook note?

  6. Not personally, I just remove and re add the feed when a couple posts build up to be honest

  7. Just to add a little to the Facebook Account Security settings: You can keep Login notifications switched on if you allow the plug-in access. Test the plug-in (in the plug-in Settings) and Facebook will immediately send you a notification telling you about an attempt to login to your account. The information it gives you is a bit strange – apparently, for me, the plug-in looks like a mobile device in Manchester, UK. All you need to do is approve the device, give it a name (like “wordpress blog”) and continue with your life.

  8. The plugin stopped working after 1 August 2011…not sure why but I’d guess FB changed something again? Is anyone else’s not working?

  9. [...] next step was to install and activate the Facebook Comments TNG plug-in. That was easy and straightforward.I tested it, and it pulled comments in from Facebook – [...]

  10. Leginag — I have the same problem. I noticed a few days ago that comments in FB were not appearing in my WP blog. The plugin says everything is OK on a test run, but no comments actually get grabbed and put in the db.

  11. Not working anymore…Is there an update available that ill work