Closed XahidEx closed 10 months ago
Same here, it's only happened on Vercel, local it's fine.
Same here, it's only happened on Vercel, local it's fine.
Seems like a CORS issue 🥱
Getting the same here. Working locally, not working on Vercel
Edit: could it be related to this thread?
It works on localhost and vercel edge.
My guess is that cdn.syndication.twimg.com where the tweets are fetched from, might be blocking some vercel / AWS IP ranges.
A workaround is:
https://react-tweet.vercel.app/api/tweet/${tweet_id}
<EmbeddedTweet tweet={tweet_json.data} />
instead of <Tweet id={id}/>
@panayiotis It's working, Thank you so much.
Check the solution: https://github.com/vercel/react-tweet/issues/137#issuecomment-2036823051
Tweet not found, even though It exist. No tweets are being rendered.![image](https://github.com/vercel/react-tweet/assets/88249321/0aea32d7-a4f9-440b-aebf-77f3e7e5ab8e)