'Rate limit exceeded', 'code': 88

2,666 views
Skip to first unread message

nielse...@gmail.com

unread,
Dec 8, 2013, 6:48:28 PM12/8/13
to twe...@googlegroups.com
Hi all,
I'm writing a bot but getting this error when making a list of followers:
tweepy.error.TweepError: [{'message': 'Rate limit exceeded', 'code': 88}]
My call looks like this:
for friend in tweepy.Cursor(api.friends).items(1):
Even if I set the parameters to 1, I get the error.
Any help is greatly appreciated.
Thanks!

aless...@jpcreative.co.uk

unread,
Dec 14, 2013, 10:02:09 PM12/14/13
to twe...@googlegroups.com, nielse...@gmail.com
I have the same issue ...did u solve it out?
Thanks!

Jared Nielsen

unread,
Dec 15, 2013, 6:38:53 PM12/15/13
to aless...@jpcreative.co.uk, twe...@googlegroups.com
No, it's something to do with Cursor.

I found a better solution here: https://github.com/ksturner/ShipItSquirrel

aa1r...@gmail.com

unread,
Dec 21, 2013, 2:55:06 PM12/21/13
to twe...@googlegroups.com, nielse...@gmail.com
The error you got was Twitter rate-limiting you. This occurs when you make too many requests within a given period.

The solution to this is to stop making requests until Twitter removes the rate-limit. See the docs for more information.
Reply all
Reply to author
Forward
0 new messages