Mobile app version of vmapp.org
Login or Join
Merenda212

: Facebook social plugin comments disappear from my Drupal site after using Facebook application ID Background to problem I was using the Facebook comments social plugin without a Facebook application

@Merenda212

Posted in: #Comments #Drupal #Facebook #Plugin

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 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:


Can somebody please confirm the reason for the disappearance of the old comments, or say what otherwise is the reason?
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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

1 Comments

Sorted by latest first Latest Oldest Best

 

@Merenda212

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme