vercel / react-tweet

Embed tweets in your React application.
https://react-tweet.vercel.app
MIT License
1.6k stars 86 forks source link

Incorrect avatar is used for Twitter voice posts #165

Closed karol-majewski closed 5 months ago

karol-majewski commented 5 months ago

Hello and thank you for your work.

I noticed that when a tweet containing a voice post such as this one is used, the avatar displayed in the embed does not match the author of the post.

If you open it on X, it looks like this (correct):

CleanShot 2024-04-11 at 11 21 35@2x

But if you open it inside the demo, then it looks like that (incorrect):

CleanShot 2024-04-11 at 11 21 26@2x

lfades commented 5 months ago

Note that we don't match react-tweet to X's website but to X's own embedded tweet. And in that case they look similar: https://publish.twitter.com/?query=https://twitter.com/metaLulie/status/1530484733985038337&widget=Tweet

karol-majewski commented 5 months ago

Ah, my mistake! I should have checked the official embed first instead of assuming the issue was somewhere else. I stand corrected ;)