vercel / react-tweet

Embed tweets in your React application.

Home Page:https://react-tweet.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect avatar is used for Twitter voice posts

karol-majewski opened this issue · comments

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

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

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