Skip to content

Premium search pagination unavailable #1424

Answered by Harmon758
xiaolin-TL asked this question in Questions
Discussion options

You must be logged in to vote

Tweepy handles pagination for you with Cursor objects. See https://tweepy.readthedocs.io/en/latest/cursor_tutorial.html.
Both API.search_30_day and API.search_full_archive can be used with them.
If you need the actual next token, NextIterator, the iterator that would be returned by Cursor.pages in this case, has a next_token attribute.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harmon758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This is a question Discussion This was converted/moved from/to a discussion
2 participants
Converted from issue

This discussion was converted from issue #1424 on December 18, 2020 05:09.