Skip to content

API request returns error #10

@benj02

Description

@benj02

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions