fa0311 / twitter-openapi-typescript

Implementation of Twitter internal API (Twitter graphql API) in TypeScript
https://www.npmjs.com/package/twitter-openapi-typescript
Other
73 stars 11 forks source link

can I run twitter-openapi-typescript inside the browser? #103

Open rinaldi6109 opened 2 months ago

rinaldi6109 commented 2 months ago

Hoping my question is clear. I haven't a jsnode server. Can I run a script inside the browser relying on twitter-openapi-typescript, itself inside the browser, too? Thank you.

fa0311 commented 2 months ago

twitter-openapi-typescript does not depend on Node js, so it can be used in the browser However, there is a CORS constraint in Twitter, so you need to work around it

The answer to your question is that with ingenuity, it is available.