Note that there are some explanatory texts on larger screens.

plurals
  1. POfacebook like count not showing up on a specific domain with html5 or iframe code, in all browsers
    text
    copied!<p>I appreciate this could be construed as a somewhat lame question but the issue has me utterly perplexed. I simply cannot get the like button count to show up for a particular domain. The exact same code on an alternative domain works fine.</p> <p>The problematic domain is www.gold.org. I have made four test cases, each using code basically verbatim from the FB website. In each example the url to be liked points to the domain's homepage (unless specified).</p> <p><a href="http://www.gold.org/test.php" rel="nofollow">http://www.gold.org/test.php</a> - HTML 5 implementation, this page also contains links to the other examples and open graph info.</p> <p>I have taken time to ensure that the correct OG tags are in place (using the facebook debug tool), that each site has admin ids and have even gone as far as to implement facebook/insights for each site. The gold.org domain has used addthis.com analytics for sometime and I have recently upgraded the code to use native social button code. Insights reports show enough traffic to warrant the count being displayed, and an fql query for the gold.org homepage currently reports a count of 86.</p> <p>Below is some sample code from the gold.org domain, for those unable/unwilling to check the examples above. The test case in the goldinspirations.com domain is the same, but with relevant urls and OG tags for that site.</p> <p>If anyone could shed light on this I would be entirely grateful. I have read many other questions/answers related to this issue here on the FB stackoverflow site, and I believe I have implemented everything correctly. Feel free to shoot me down in flames if I have missed somethingm, I promise to slap my forehead and say DOH.</p> <p>Many thanks</p> <pre><code>&lt;html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;FB Test&lt;/title&gt; &lt;meta name="robots" content="index,follow" /&gt; &lt;meta name="copyright" content="Copyright (c) 2012 World Gold Council" /&gt; &lt;meta name="author" content="http://www.gold.org" /&gt; &lt;meta name="publisher" content="World Gold Council" /&gt; &lt;meta property="og:title" content="Homepage &amp;gt; World Gold Council"/&gt; &lt;meta property="og:description" content="The World Gold Council – the market development organisation of the gold industry and voice of authority for gold" /&gt; &lt;meta property="og:type" content="website"/&gt; &lt;meta property="og:url" content="http://www.gold.org/"/&gt; &lt;meta property="og:image" content="http://www.gold.org/assets/static/www.gold.org/img/favicon-apple.png"/&gt; &lt;meta property="og:site_name" content="World Gold Council"/&gt; &lt;meta property="fb:admins" content="100001681197681,536819656" /&gt; &lt;/head&gt; &lt;body&gt; &lt;script&gt; (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_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); &lt;/script&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;div class="fb-like" data-href="http://www.gold.org" data-send="true" data-layout="button_count" data-width="300" data-show-faces="false" data-font="arial"&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload