Prior to doing a rate-limit API, I always get the http://twitter.com/account/rate_limit_status.xml (using my credentials). Every once in a while, I get an HTTP response code of 0 (even though the previous call may have told that I still have more than 19,000 calls left. My workaround is is do..while loop, with a break of 10 loops.
Any suggestions?
