Last 12 weeks · 1 commit
2 of 6 standards met
Videos in tweets are blocked with a 403 (forbidden) code. At first I thought it might be domain-specific because of excessive use, but I've tried with three different domains, localhost and react-tweet-next.vercel.app. The issue can be reproduced by going to https://react-tweet-next.vercel.app/light/1819295962591862827 and examining the network tab. It will show:
Repository: vercel/react-tweet. Description: Embed tweets in your React application. Stars: 1851, Forks: 115. Primary language: TypeScript. Languages: TypeScript (58.8%), MDX (21.1%), CSS (14.5%), JavaScript (5.3%), HTML (0.3%). License: MIT. Homepage: https://react-tweet.vercel.app Latest release: react-tweet@3.2.2 (1y ago). Open PRs: 7, open issues: 41. Last activity: 1mo ago. Community health: 50%. Top contributors: lfades, github-actions[bot], tywayne, StefKors, leerob, joulev, garutyunov, waruhachi, ryoppippi, ryoid and others.
TypeScript
I can't tell if this PR is a or a . If is , return . However, I think should return because SWR cannot without id. For this reason, I propose to change a behavior of . If this change is reasonable, a behavior of `` may also need to be changed. https://github.com/vercel/react-tweet/blob/main/packages/react-tweet/src/swr.tsx