I came across this issue a few days ago and started looking for solutions. Didn’t find too many decent ones, which is why I’m writing this post.
I’ve implemented Twitter’s Tweet Button on Foller.me last week and noticed that it always shows 0 count, despiting the fact that the page has been tweeted 3-4 times. My friends suggested to wait a while, but that didn’t help either. Count was still showing zero after 3 days, so I decided to inspect of what’s going on.
It turns out that Twitter has it’s own monster crawler called Twitterbot who sends HTTP HEAD requests to pages that have been tweeted. This flooded my error log with code 405 responses: Method not allowed. I thought that this is the part that was causing the 0 count and I was right. I solved it with only a couple of lines in my Python code, inside the WSGI handler (note that I’m running Google App Engine):
def head(self, screen_name): return
That was quite easy ;) Too bad the Twitter developers docs don’t mention this at all, and a Google search for Twitterbot shows you how to create your own Twitter robot ;) Thanks for sharing this, cheers!
[…] This post was mentioned on Twitter by Konstantin Kovshenin, Amor. Amor said: Tweet Button Still Showing 0? http://bit.ly/gT72r0 – via @kovshenin […]
Hello J just have the same problem (via twitter code, and, tweetmeme plugin for wordpress? What/where skhould i do to my count be not all time 0
I think that your issue should be resolved in a few hours. Mine was due to an http error.
I'm curious to find out what blog system you are using? I'm experiencing some minor security issues with my latest website and I'd like to find something more risk-free. Do you have any solutions?