title: Facebook Like Button wrong count, liked page shows as unliked on website and does not show up in Graph API
body: <p>I have recently implemented the <a href="https://developers.facebook.com/docs/reference/plugins/like/" rel="nofollow">Facebook Like Button</a></p>
  
  <p>I have chosen some settings (for the HTML5 implementation) and facebook gave me the following code:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&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_US/all.js#xfbml=1&amp;appId=*my-app-id*";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;div class="fb-like"
       data-href="*http://my-domain.com/page/uri*"
       data-send="false"
       data-layout="button_count"
       data-width="50"
       data-show-faces="false"
  &gt;&lt;/div&gt;
  </code></pre>
  
  <p>I have implemented this code on my public website.</p>
  
  <p>When I click the button it changes the button to the "liked" state and shows a dialog that I can use to post to my wall.</p>
  
  <p>The wallpost works fine (and Facebook manages to extract the Open Graph meta tags from the page like image, title, url and so on...) when I refresh the page, the buttons shows up as one like, but when I visit the same url with another browser and facebook account the like button indicates that the page is <strong>not</strong> liked by anyone.</p>
  
  <p>If I then check my <a href="https://graph.facebook.com/me/likes" rel="nofollow">https://graph.facebook.com/me/likes</a> in <a href="https://developers.facebook.com/tools/explorer/" rel="nofollow">Graph API Explorer</a> the like does not show up in the list.</p>
  
  <p>I have also tried to use <a href="https://developers.facebook.com/tools/debug" rel="nofollow">Facebook's Debugger</a> to make Facebook refresh the data for the url as I found on <a href="http://www.allwebmaster.com/2011/07/fix-facebook-like-button-not-working/" rel="nofollow">http://www.allwebmaster.com/2011/07/fix-facebook-like-button-not-working/</a> but that did not seem to help.</p>
  
  <p>So the wallpost works but the like does not, why is that? What can I do to make it work?</p>
  
  <p>Update: now I have a few likes on some of the pages but it does not correspond to the number of accounts that has liked that url...</p>