Facebook comments, not showing up

Permalink
Hi everybody,

I had the facebook comment box running, and 10 great references on my website. Something has since happenend, when loading is says false, which disappears again.

Before I had the both codes from facebook in one html block on the page, it was working. I have now tried to place the header code correctly in the /ayubahasa.com/themes/default/elements/header.php, but no changes.

Please help, I really need these comments. This is the simple site.http://ayubahasa.com/reference/...

Header code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/da_DK/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Page code
<div class="fb-comments" data-href="http://ayubahasa.com/reference" data-colorscheme="The color scheme used in the plugin" data-numposts="5" data-width="700"></div>

View Replies:
GreyhorseDesign replied on at Permalink Reply
GreyhorseDesign
Did you provide the correct appId and channelUrl?
andersha replied on at Permalink Reply
First time, I did nothing but enter the domain here

https://developers.facebook.com/docs/plugins/comments/...

And insert the provided code.
enlil replied on at Permalink Reply
enlil
You're missing your fb app id in this line of the header code:

js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=yourappid";
enlil replied on at Permalink Reply
enlil
also, looking at your site, the "data-colorscheme" needs to be set to either "light" or "dark"...
andersha replied on at Permalink Reply
Hi, thanks a lot. I have it working now.

But of cause every comment is gone, new app. Do you know if facebook can transfer anything, my new app is registered to the same domain as the prior version?

Or where I can contact and question?

Best Anders
enlil replied on at Permalink Reply
enlil
unfortunately FB ties each comment thread to the data-href url defined in the code for each page. The only way to migrate comments that I know of is to use the data-href for the previous location of the comments code, although this will get messy in the end if you're doing this over and over. Best bet is to place the comments strategically the first time so you wont have issues like this!
andersha replied on at Permalink Reply
Hi,

Can you tell me how to do this, I would like to find the old comments, sent them to the commentator and ask then to share it again. Is this possible, if yes how?

Thanks again. Anders
GreyhorseDesign replied on at Permalink Reply
GreyhorseDesign
You are able to get the old feed back using;

$id = .. // use your old App ID here
$myOldFeed = file_get_contents("https://graph.facebook.com/".$id."/feed&access_token=".$facebook_access_token);
$oldFeed_array = json_decode($myOldFeed,true);
The oldFeed_array holds all of your old comments
andersha replied on at Permalink Reply
But, I thougt the reason for the disaapearence was because of no registration and therefore no old app id. Am I'm wrong?