The rate limit example has me confused.

26 views
Skip to first unread message

Sam Cambridge

unread,
Aug 3, 2015, 3:15:52 PM8/3/15
to Twitter Ruby Gem
Hey,

I'm looking at the rate limit example and its got me confused: https://groups.google.com/forum/#!forum/twitter-ruby-gem

AFAIK
 
retry

Will start the loop from the start, so if I had more followers than the rate limit allows I'd get rate limited... then the code would wait for 15 minutes then start from the beginning again, not where it had left off and it would retrieve the same results as before.

It seems to be that the code would be in an infinite loop.. unless 

follower_ids

Automagically handles all this for me and it would actually restart back where it left off?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages