Fetching the Twitter API using Next.js API routes
Nov 24, 2021 · 4 min read · The problem When I was playing around with the Twitter API, I found that they did not have CORS headers enabled. The error message shown by them was: Failed to load https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=nimaiwalsh: Respo...
Join discussion