Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Background to problem

I was using the Facebook comments social plugin without a Facebook application ID (on Drupal with Facebook social plugin module); it was working just fine like this.

I later decided to get and use a Facebook application ID from http://developers.facebook.com/setup/ to enable comment moderation.

Since I did this, however, all the Facebook comments that were entered onto my site before I used the application ID have disappeared.

I tried removing the ID from Drupal module (as it was before) but that made the Facebook comment box no longer load on my website (even though it worked before I got the ID) so the comments box now no longer works without the app ID.

The Facebook reference says that the default ID for the comments box is the URL-encoded page URL so I assume that the comments that were lost are associated with this ID and will no longer show if I am using a Facebook application ID.

This may be an issue with the Drupal module, I am not 100% sure, but I think it is more to do with Facebook's poorly designed implementation of the comments integration system.

Questions:

  1. Can somebody please confirm the reason for the disappearance of the old comments, or say what otherwise is the reason?

  2. Is there any way to now get the old comments (pre-application Id) back onto my website (preferably while still using the newly obtained app ID)?

Many thanks.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

This response in the Facebook Developer Forum appears to answer my question:

Hello, When you don't specify an app ID, plugins use the URL as the identifier key. So you have comments tied to two identifier keys - the URL, and the app ID. To my knowledge, these can't be merged. If you drop the app ID from the code you can continue displaying the old comments, since the plugin should revert back to the URL identifier. I'm not sure if that's how the Drupal plugin is constructed, but that's how it works out of the box. Best, Matt Trainer

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.