I’m using the twitter button on my website www.mapyourvote.com
The counter used to work fine but hasn’t been increasing recently and I haven’t been able to figure out why.
http://www.mapyourvote.com/Poll/Favorite-Pets/
I’ve clicked the tweet button and successfully tweeted however the counter stays at 0.
The script I’m using is this:
<a href="https://twitter.com/share" class="twitter-share-button" data-hashtags="MYV"
data-text="MapYourVote Poll - What is your favorite type of pet?"
data-url="http://www.mapyourvote.com/Poll/Favorite-Pets/?rf=2" data-counturl="http://www.mapyourvote.com/Poll/Favorite-Pets/">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>
</div>
I’ve used curl to make sure head requests are being accepted since that was a common problem I found in my google search.
If anyone has any ideas as to why this happening, I’d be very thankful.