pugson / telegram-twitter-url-expand-bot

🐦️💬 Expand Twitter, Instagram, Bluesky, Hacker News, Dribbble, Posts.cv, and TikTok links in Telegram chats & channels (with inline video)
https://t.me/TwitterLinkExpanderBot?start=start
GNU General Public License v3.0
75 stars 10 forks source link

Use fxtwitter.com instead of vxtwitter.com #39

Closed rafitamolin closed 1 year ago

rafitamolin commented 1 year ago

Why use FixTweet?

Previously, fxtwitter.com was owned by another user and as of today it's maintained by an active GitHub developer who fixed a lot of things.

In many ways, FixTweet has richer embeds and does more. Here's a table comparing some of FixTweet's features compared to vxTwitter embeds

FixTweet vxTwitter (BetterTwitFix)
Embed Tweets / Images :heavy_check_mark: :heavy_check_mark:
Embed profile pictures on text Tweets :heavy_check_mark: :heavy_check_mark:
Embed Twitter Videos :heavy_check_mark: :heavy_check_mark:
Embed External Videos (YouTube, etc.) :heavy_check_mark:⁵ :x:⁴
Embed Poll results :heavy_check_mark: :heavy_check_mark:
Embed Quote Tweets :heavy_check_mark: :ballot_box_with_check: Without Media
Embed Multiple Images :heavy_check_mark: :ballot_box_with_check: c.vxtwitter.com
Translate Tweets :heavy_check_mark: :x:
Publicly accessible embed index :x:² :x:²
Replace t.co with original links :heavy_check_mark: :x:
Media-based embed colors on Discord :heavy_check_mark: :x:
Redirect to media file (without embed) :heavy_check_mark: :ballot_box_with_check: Subdomain broken, no images
Strip Twitter tracking info on redirect :heavy_check_mark: :heavy_check_mark:
Show retweet, like, reply counts :heavy_check_mark: :ballot_box_with_check: No replies
Discord sed replace (s/) friendly :ballot_box_with_check: twittpr.com :x:
Tweet fetch API for Developers :heavy_check_mark: :x:
DDoS protection & low latency globally :heavy_check_mark: :x:
Last commit

² Neither FixTweet or vxTwitter have a public embed ledger, for privacy reasons. vxTwitter still stores all responses in a database / JSON file controlled by the owner. FixTweet by contrast relies on Cloudflare caching of responses: there is no link store accessible to the owner.

⁴ On GitHub, BetterTwitFix (vxTwitter) claims to support this feature, however in my testing as of mid-July 2022, this does not seem to work.

⁵ External media requiring web containers, such as YouTube, won't embed in Telegram because Telegram doesn't support it. Plain media will work in Telegram, and it works either way inside Discord.

Necessary changes

Remove the code that checks if a tweet contains more than one image, since fxtwitter already merges all images in only one.

pugson commented 1 year ago

I wasn't aware of this service. Thanks for sharing and comparing the two. Sounds like a good idea to switch.