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

Getting Tweets with Bearer Token is not working #153

Open
toramanomer opened this issue Mar 25, 2024 · 0 comments
Open

Getting Tweets with Bearer Token is not working #153

toramanomer opened this issue Mar 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@toramanomer
Copy link

Describe the bug
Getting Tweets with Bearer token is not working. It returns 403 Forbidden with the following response body:

{
    "client_id": "28572299",
    "detail": "When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.",
    "registration_url": "https://developer.twitter.com/en/docs/projects/overview",
    "title": "Client Forbidden",
    "required_enrollment": "Appropriate Level of API Access",
    "reason": "client-not-enrolled",
    "type": "https://api.twitter.com/2/problems/client-forbidden"
}

To Reproduce

  • Create Project on Twitter Developer Portal
  • Create App for Project
  • Add Bearer Token
  • Make request, and observe it is returning 403 Forbidden

Expected behavior
A successful response with the requested tweets.

Additional context
Add any other context about the problem here.

@toramanomer toramanomer added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant