-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Invalid value 52 for parameter page parameter is invalid. #604
Comments
Same problem here, has anyone been able to fix it? |
I have same problem. I use as doc - http://docs.tweepy.org/en/v3.2.0/api.html#API.search
But it throws that error "page parameter is invalid" |
It seems the page parameter is not supported. Suggestion: remove 'page' from the docs |
I answered this in the stackoverflow. Basically, you can use count param. |
Twitter gives you only the first 1000 results for a search. 20 results per page * 50 pages = 1000 results. Hence the next hit with the page number 52 onward gives error (not sure why page 51 works, may be to compensate for one or two results filtered in the previous searches). |
@vinog-git is correct. Lines 156 to 171 in 51f680c
@J0G1 Your second exception is simply caused by exceeding the rate limit, as the error says. See the wait_on_rate_limit parameter for API for a way to handle this.
@serkandaglioglu That is not relevant to this issue, as you're using @tdatu The |
It's because searching for users is limited to return 1000 results through the basic Twitter API: So you can put in If you want to run it again, however, it's just going to give the same 1000 results as before so you'll need to change the query to give different results. It's just a limitation of the basic Twitter API, not a bug. |
Hi I have sample code:
The text was updated successfully, but these errors were encountered: