FixTweet / FxTwitter

Fix broken Twitter/X embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others
https://fxtwitter.com
MIT License
2.46k stars 70 forks source link

profiles don't embed #843

Open MaxxusX opened 2 months ago

MaxxusX commented 2 months ago

hello, this is very cool but uh, it doesn't embed twitter profiles.

this is very annoying for people who automatically replace x.com with fxtwitter.com.

the api endpoint for it exists at https://api.fxtwitter.com/x, but when sending a link to https://fxtwitter.com/x on discord, it doesn't have an embed.

image

MaxxusX commented 2 months ago

https://github.com/FixTweet/FxTwitter/blob/main/src/user.ts on line 54: // TODO Add card creation logic here

^ that was added like over a year ago and never uh added or whatever

i would make a pr and do it myself but i have no idea how to use typescript or what is happening in your code and im too lazy to learn so good luck 👍