Facebook count not working
-
I’ve followed these instructions on setting up a FB id, but still can’t seem to get the counts to show. I’m using the FB API v2.8. I’ve input the FB App ID & secret token.
I’ve also input the following FB SDK for Javascript code after the opening <body> tag in the header.php of my child theme.
<script> window.fbAsyncInit = function() { FB.init({ appId : '############# (my ID here)', xfbml : true, version : 'v2.8' }); FB.AppEvents.logPageView(); }; (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/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>This is an example post where you can see the FB count is not working.
Any ideas how I can fix this? Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Facebook count not working’ is closed to new replies.