Access to fetch at 'https://api.twitter.com/oauth/request_token' from origin 'http://localhost:3000' has been blocked by CORS policy #427
Unanswered
Ayushpandey80
asked this question in
Q&A
Replies: 1 comment
-
I am using twitter-api-v2 in my NEXT JS application. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting this error :
Access to fetch at 'https://api.twitter.com/oauth/request_token' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
when using this code :
Beta Was this translation helpful? Give feedback.
All reactions