As far as I can tell in the documentation and the API announcement,
the "retweet_count" field is supposed to be an integer. However for
popular tweets the value is "100+" which is a string. I'm working
around this now by parsing an integer out of the field so "100+"
becomes 100.

So, I think the documentation should be updated to mark the
"retweet_count" field as a string, or the API should be updated to
only return an integer. I'd prefer the latter, understanding that it
would only be an approximation.

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to