Twitter - Number of Tweets Not Updating - Testing On Local


#1

I have placed a Twitter Tweet button on my site, but I noticed that the number of Tweets for the page has not been incrementing when I am testing on my local. I am however able to see the Tweet on my Twitter homepage. Is there something I am doing incorrectly?

a href="https://twitter.com/share" class="twitter-share-button services" data-url="http://www.my-site.com" data-via="via" data-hashtags="hash" data-text="text"></a>

//Requried Twitter JS
  <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="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

#2

I’ve noticed that my counter has updated after a day. Is that the average length of delay? Does anyone know the delay duration?


#3

The counts are always “eventually consistent” but a day is a bit longer than usual…

The Tweet Button is meant to be used on publicly accessible web pages. If your testing pages weren’t fetchable by our servers, it can’t validate that you have a Tweet Button on the page and won’t necessarily begin counting for you.


#4