Note that there are some explanatory texts on larger screens.

plurals
  1. POTwitter Tweet Button does not count
    text
    copied!<p>I am using the official <a href="http://twitter.com/goodies/tweetbutton" rel="noreferrer">Tweet Button from Twitter</a> to allow users to share my site.</p> <p>The button itself is working just fine, however the counter doesn't work and stays at zero all the time. (after you tweet, it is incremented client-side, but if you press F5, it will be zero again)</p> <p>This is my really simple code to include the button:</p> <pre><code>&lt;a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.whattheplace.com/Show/1/" data-count="vertical"&gt;Tweet&lt;/a&gt; &lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt; </code></pre> <p>The specified URL (<a href="http://www.whattheplace.com/Show/1/" rel="noreferrer">http://www.whattheplace.com/Show/1/</a>) is a regular URL returning a web page with HTTP code 200, i.e. no redirection or the like that could maybe confuse Twitter.</p> <p>I've prepared a small example on <a href="http://www.whattheplace.com/static/tweetbutton.html" rel="noreferrer">http://www.whattheplace.com/static/tweetbutton.html</a> where you can see the problem. On the "real" page at <a href="http://www.whattheplace.com" rel="noreferrer">http://www.whattheplace.com</a>, the Tweet Button is wrapped by AddThis, but the problem is exactly the same.</p> <p>I'm thinking that it might have something to do with the new Twitter URL shortener (t.co), however I can't prove it and it seems to work on other people's pages just fine.</p>
 

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