fix pagination for tweet counts
authorDarknessest <32790500+darknessest@users.noreply.github.com>
Sun, 9 Jan 2022 04:31:35 +0000 (12:31 +0800)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 04:31:35 +0000 (12:31 +0800)
commit6bfdc75c858cca735bbe6d34dde58bb917ba4551
treee94c1e5828107dcddbe3927e3556cd9613e3d20c
parentf9a722bae8cce368b9f8fd447c418e1034c32178
fix pagination for tweet counts

`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.
tweepy/pagination.py