Skip to content

CORS error when calling getTweet #153

@Amargol

Description

@Amargol

Hey, this is a great package. Thanks so much for the effort you all put into this.

I'm trying to use the included getTweet function to get metadata for a tweet given it's tweet id. But I get the following CORS error:

image

However, when I use the <Tweet /> component directly and pass in the ID, it gets the metadata for the tweet just fine.

Why does the CORS error occur when I call getTweet myself, but when the component calls it for me, everything works fine?

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