Skip to content
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

fix pagination for tweet counts #1761

Merged
merged 1 commit into from Jan 9, 2022
Merged

fix pagination for tweet counts #1761

merged 1 commit into from Jan 9, 2022

Conversation

darknessest
Copy link
Contributor

get_all_tweets_count is using next_token for pagination.
next_token is returned only when a difference between start and end time is more than 31 days, no matter the granularity.

`get_all_tweets_count` is using `next_token` for pagination.
`next_token` is returned only when a difference between start and end time is more than 31 days, no matter the granularity.
@Harmon758 Harmon758 added Bug This is regarding a bug with the library Improvement This is regarding an improvement to an existing feature labels Jan 9, 2022
@Harmon758 Harmon758 merged commit c11556a into tweepy:master Jan 9, 2022
@darknessest darknessest deleted the patch-1 branch January 9, 2022 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is regarding a bug with the library Improvement This is regarding an improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants