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

get_liking_users is missing the optional pagination_token parameter #1821

Closed
ClemHFandango opened this issue Feb 21, 2022 · 1 comment
Closed
Labels
Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable

Comments

@ClemHFandango
Copy link

Currently there is no pagination _token parameter in the get_liking_users function. This means that you can only get the first page of results for the liking users. You can still insert one manually however, Tweepy becomes unhappy and prints an error.

@Harmon758
Copy link
Member

This was added recently to the API with https://twittercommunity.com/t/updates-to-retweets-lookup-and-likes-lookup-endpoints/165327, and support for this has already being added with bdd6b55 (and 93dffc9) in the latest development version on the master branch. This was tracked in #1472 and #1803 and should be released with v4.6.

For now, you can still pass pagination_token (and use Paginator). It'll just give you a warning that the parameter is unexpected. You're likely encountering this and not an error. Feel free to provide the full traceback if you're actually encountering an exception.

In the future, please check the latest development version on the master branch (as well as check for recent duplicate issues) before creating an issue about new API features/improvements.

@Harmon758 Harmon758 added Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable
Projects
None yet
Development

No branches or pull requests

2 participants