-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to execute #8
Comments
Hi arpitnot4u, as the error message states, your rate limit is exceeded. You can only perform a limited number of requests:
Source: https://dev.twitter.com/rest/public/rate-limiting Please adjust your retweet.py calls accordingly (crontab, sleep, ..) and consider other applications/scripts using API credentials. Regards, |
Hi, I'm executing this code for the first time with no last save point and hence as Line 37 in retweet.py ( https://github.com/basti2342/retweet-bot/blob/master/retweet.py#L37 ) says "No savepoint found. Trying to get as many results as possible." Hence I guess in this case retweet.py should limit the number of calls. Or kindly let me know the alternative. |
Hello, I'm having the same issue, and there is no information on how to stop the script before it hits the limit and iterate through what it already got. Trying to start it for the first time, no savefile. |
You might consider noting in the description that this project is not compatible with Python 3.* |
Exactly same issue as above ^ Did anyone resolve this? No savepoint found. Trying to get as many results as possible. |
same problem here can we resolve this? |
same problem here too |
I have no idea how we should limit the calls. If you have one, please propose it. Until then we will run into the rate limit. |
the following are my logs:
root@ft2:
/t2/retweet-bot# python retweet.py/t2/retweet-bot#No savepoint found. Trying to get as many results as possible.
Traceback (most recent call last):
File "retweet.py", line 44, in
for status in timelineIterator:
File "/usr/local/lib/python2.7/dist-packages/tweepy/cursor.py", line 197, in next
self.current_page = self.page_iterator.next()
File "/usr/local/lib/python2.7/dist-packages/tweepy/cursor.py", line 108, in next
data = self.method(max_id=self.max_id, parser=RawParser(), _self.args, *_self.kargs)
File "/usr/local/lib/python2.7/dist-packages/tweepy/binder.py", line 239, in _call
return method.execute()
File "/usr/local/lib/python2.7/dist-packages/tweepy/binder.py", line 223, in execute
raise TweepError(error_msg, resp)
tweepy.error.TweepError: {"errors":[{"message":"Rate limit exceeded","code":88}]}
root@ft2:
The text was updated successfully, but these errors were encountered: