Error Facebook plugin does not count amount of comments

2

I used the facebook plugin on my website, for like, share, facepile and comments.

Everything works, with the exception of the comment counter in each post, all the codes are correct, I used this Portuguese script that facebook offers:

<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/pt_BR/sdk.js#xfbml=1&appId=300497003454434&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

The strange thing is that if I use the script in English, everything works, just the description of the buttons in English:

<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/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

How do I display the correct amount of comments in the Portuguese script?

    
asked by anonymous 29.07.2014 / 03:52

0 answers