Like button does not load content

Asked

Viewed 55 times

1

I have the Facebook like button on the site, but when you enter the page and I click like the content is blank. If you update the page the content appears.

follows the code:

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.