Skip to content

API request returns error #10

Open
@benj02

Description

After logging in through OAuth, the request to https://api.twitter.com/2/users/me returns 403:

{
    "response": {
        "title": "Unsupported Authentication",
        "detail": "Authenticating with OAuth 2.0 Application-Only is forbidden for this endpoint.  Supported authentication types are [OAuth 1.0a User Context, OAuth 2.0 User Context].",
        "type": "https://api.twitter.com/2/problems/unsupported-authentication",
        "status": 403
    },
    "status": 403,
    "headers": {}
}

https://github.com/twitterdev/bookmarks-search/blob/main/src/App.js#L131

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions