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

Forbidden error for fetching UserTimeline #1218

Open
kamoco opened this issue Jul 13, 2023 · 4 comments
Open

Forbidden error for fetching UserTimeline #1218

kamoco opened this issue Jul 13, 2023 · 4 comments

Comments

@kamoco
Copy link

kamoco commented Jul 13, 2023

I am trying to fetch the timeline of a user and I am getting the following forbidden error. Any idea why?

Reason : Forbidden
Details : {"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]}
(0)
Code : 403
Date : 7/13/2023 4:44:24 AM +00:00
URL : https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=&count=200&tweet_mode=extended&exclude_replies=false&include_rts=false
Twitter documentation description : Forbidden - The request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why. This code is used when requests are being denied due to update limits

@Gitekkaad
Copy link

You would have to know which account tier you are using.. in the free version, no more tweets or timelines can be read

@imcanida
Copy link

Having similar issue when using library. We have cheaper paid subscription; other endpoints are working such as GetUserByNameAsync.

But when it hits GetUserTimelineAsync throws the error @kamoco mentions.

I've also confirmed that running the twitter v2 api via Postman does work providing a valid bearer token.

@kamoco
Copy link
Author

kamoco commented Jul 19, 2023

Does that mean for it to work now we need to sign up for $5000 subscription?

@WolfgangHG
Copy link

Just to point to the features per license:
FREE: https://developer.twitter.com/en/portal/products/free
BASIC (needed to read timelines): https://developer.twitter.com/en/portal/products/basic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@WolfgangHG @imcanida @kamoco @Gitekkaad and others