Skip to content Skip to sidebar Skip to footer

Rate Limit Reached. Sleeping For:

i'm collecting tweets withe thier replies from Twitter's API to build data set and i'm using tweepy library in python for that,but the problem is that I get this error so much (Rat

Solution 1:

Hoping this might help

api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=False, compression=True)

Solution 2:

Just add this line to the Python script to avoid the sleep:

sleep_on_rate_limit=False

Post a Comment for "Rate Limit Reached. Sleeping For:"