Any way to monitor MediaRateLimit from headers?

14 views
Skip to first unread message

Andrew Herr

unread,
May 20, 2014, 11:34:04 PM5/20/14
to twitter-...@googlegroups.com
I now that API responses to update_with_media include information about rate limit in the headers. https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media 

Is there any way to access this data in the Twitter::Tweet object that is returned by the update_with_media method (or anywhere else)? I'd like to stop sending media instead of hitting the rate limit, and I'd like to know when I can start sending it again after my rate limit has been reset. I have the same question for other methods/rate limits, but this is the one I'm most concerned about and least able to find in the documentation.

If this isn't possible, are there any adverse effects to hitting the rate limit all day long (after the first 30 media are used up)? I thought I read something about being banned for excessive rate limiting.

Thanks!
AH
Reply all
Reply to author
Forward
0 new messages