Hi,
I'm working on a project utilizing Twitter's Public Streaming API and all is working well - successfully subscribing to keywords/tracks and receiving tweets flawlessly.
I'd like to make my application a bit more robust and inform the user if they are rate-limitted by twitter. Apparently this can happen if more than one connection is made to the Public API. How can I safeguard against violating this guideline, and where would be an appropriate location (in code) to inform the user? Can I subscribe to a RateLimit event here?
Please let me know any thoughts, thanks for taking the time!
I'm working on a project utilizing Twitter's Public Streaming API and all is working well - successfully subscribing to keywords/tracks and receiving tweets flawlessly.
I'd like to make my application a bit more robust and inform the user if they are rate-limitted by twitter. Apparently this can happen if more than one connection is made to the Public API. How can I safeguard against violating this guideline, and where would be an appropriate location (in code) to inform the user? Can I subscribe to a RateLimit event here?
Please let me know any thoughts, thanks for taking the time!