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_list_tweets() returns a 401 Unauthorized error #2107

Closed
bigsky77 opened this issue May 10, 2023 · 3 comments
Closed

get_list_tweets() returns a 401 Unauthorized error #2107

bigsky77 opened this issue May 10, 2023 · 3 comments
Labels
Invalid This is not valid No Reproduction This is not reproducible

Comments

@bigsky77
Copy link

When I call get_list_tweets() via the Tweepy v2 API, I am getting a 401 error. I am a subscriber to Basic and according to the docs this endpoint is included in that tier.

Everything else works fine and I am able to retrieve timeline tweets and post tweets via the api.

@Harmon758
Copy link
Member

There's no information here with which to help you.
You need to provide what exactly you're trying and encountering, e.g. the relevant code or a reproducible example (MCVE/SSCCE) and the full traceback.

@Harmon758 Harmon758 added Need Follow-Up This needs to be followed up on to be actionable No Reproduction This is not reproducible labels May 10, 2023
@bigsky77
Copy link
Author

This issue arises when using an OATH v1 tweepy client for retrieving list tweets. The issue is resolved by using OATH v2 client with the Bearer Token.

@Harmon758
Copy link
Member

If by "OATH v1" and "OATH v2" you mean OAuth 1.0a and OAuth 2.0, that method should work with both.

@Harmon758 Harmon758 closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2023
@Harmon758 Harmon758 added Invalid This is not valid and removed Need Follow-Up This needs to be followed up on to be actionable labels May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid This is not valid No Reproduction This is not reproducible
Projects
None yet
Development

No branches or pull requests

2 participants