I created a twitter button using the code and instructions here: https://twitter.com/about/resources/buttons
Here is my code
<a href="https://twitter.com/share" class="twitter-share-button" data-text="The Burger Kings in Toronto at 33497 Yonge St rated 4/5 with 1 review" data-url="http://mydomain.com/d/902463" data-via="mytwitteraccount" data-lang="en" data-count="vertical">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
But the count is not updated when someone uses the button, why is that?
The page url is not exactly the data-url value I have specified it's only a short url that will redirect to the actual url which is longer.
What's the trick here? Should I use the full url or is there something else I'm missing?