AD
Boost Your Brand on BlueSkyβ€”Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /JavaScript
  3. /telegram-twitter-url-expand-bot
pugson

telegram-twitter-url-expand-bot

A JavaScript SDK for Bluesky and AT Protocol by pugson

πŸ¦οΈπŸ’¬ Expand Twitter, Instagram, Reddit, Bluesky, Hacker News, Threads, YouTube Shorts, Dribbble, and TikTok links in Telegram chats & channels (with inline video)

GitHub Stats

95stars
12forks
8contributors
6open issues

Dates

Created:July 28, 2022
Last updated:January 3, 2026

README

The following content is from telegram-twitter-url-expand-bot's GitHub repository. All rights reserved by the original author.

Link Expander - Telegram Bot for expanding Twitter, Instagram, TikTok, YouTube Shorts, Spotify, Reddit, Threads, Bluesky, Hacker News, Facebook, and Dribbble links.

banner-4 1@1x

Some Twitter links stopped expanding inside Telegram which made it extremely annoying when you wanted to send a banger tweet to your homies in the group chat. This bot replies with an alternative fxtwitter.com URL which has a working embed for multiple photos and even includes inline video.

Supported platforms

  • Twitter / X using fxtwitter.com and vxtwitter.com
  • Instagram using eeinstagram.com, fxstagram.com, uuinstagram.com, vxinstagram.com and kkinstagram.com
  • TikTok using tfxktok.com, kktiktok.com, tiktokez.com and tnktok.com
  • Bluesky using fxbsky.app
  • Reddit using rxddit.com
  • Hacker News using a custom API
  • Dribbble using dribbbletv.com
  • Posts.cv using postscv.com
  • Facebook using facebed.com
  • Spotify using a custom API (disabled for now)
  • Threads using threadsez.com
  • YouTube Shorts using koutube.com

βœ¨πŸ†•βœ¨ Switch between embedding services!

Sometimes specific embedding services (like ddinstagram or tfxktok) go down or stop working correctly. Now you can easily switch between different providers if the default one fails!

When expanding a link, if the embed doesn't load properly, click the "πŸ–Ό Embed not working?" button. This will cycle through a list of alternative reliable services for that platform (Instagram, TikTok, or Twitter) until you find one that works.

Switch service demo

Support for Spotify links!

When you send a Spotify link, the bot will reply with a photo of the artwork and info about the track / album / playlist / artist / podcast / show. It will also send a sample audio clip in another message.

Spotify preview

Hacker News links! (not in channels yet)

You can now expand Hacker News links. It will reply with the original YCombinator URL, the link shared in a HN post, and the title of the submission.

CleanShot 2024-01-09 at 09 15 18 PM@2x

βœ¨πŸ†•βœ¨ Bot now works in Telegram Channels!

When you add this bot to your channel it will automatically edit any message that includes a supported platform and replace the link in that message with one of the working embeds for each platform. Your channel subscribers will finally be able to watch inline videos and photos without leaving Telegram.

[!NOTE]

There is no message logging or personal tracking β€” your chats stay private.

The exact source code that’s published on GitHub is automatically deployed to Railway and logs will never include any user/chat/personal info or content. You can audit the code to see for yourself.

Demo

https://user-images.githubusercontent.com/6843656/182036672-5b566200-cba4-462d-ba5c-4c043e032b06.mp4

How to use this bot?

Channels

  1. Find it on Telegram as @TwitterLinkExpanderBot or click here: https://t.me/twitterlinkexpanderbot?start=start
  2. Add it to your channel as admin with the Edit messages of others permission.
  3. Send a message that includes a tweet, TikTok, or Instagram URL.

Groups or DMs

  1. Find it on Telegram as @TwitterLinkExpanderBot or click here: https://t.me/twitterlinkexpanderbot?start=start
  2. Add it to your group chat.
  3. Send a message that includes a tweet, TikTok, or Instagram URL.
  4. Click "Yes" or "No" when the bot replies to your message.
  5. Configure automatically expanding links in your group chat by sending /autoexpand and changing your settings.
image

Do you read all messages inside the chat?

πŸ™…β€β™‚οΈ No, I will never do that. πŸ™…β€β™‚οΈ

While it is technically possible through the Bot API, I simply do not have the time or desire to snoop on your shit. The only thing I will keep track of is counting anonymous events when buttons are clicked, bot commands are used, a tweet has multiple images (etc.) to monitor stats to see if people are finding this bot useful.

You can check the code and verify that none of the messages are being stored or logged in any way.

image

Thanks

This bot wouldn't be possible without the following people and projects. Huge thanks to:

  • @dylanpdx for creating BetterTwitFix / vxtwitter.com
  • @Wikidepia for creating InstaFix / ddinstagram.com
  • @dangeredwolf for creating FxEmbed / fxtwitter.com
  • @allanf181 for creating tfxktok.com
  • @fxbsky.app for creating fxbsky.app
  • @MinnDevelopment for creating rxddit.com
  • Embedez.com for their services: threadsez.com, tiktokez.com, instagramez.com
  • @iGerman00 for creating koutube.com
  • @rdfsx for hosting eeinstagram.com
  • @gigirassy for hosting fxstagram.com
  • @Knoppiix for hosting zzinstagram.com
  • @Lainmode for creating vxinstagram.com
  • facebed.com for hosting facebed.com

Topics

blueskybotdribbbleexpanderhacker-newsimgurinstagramredditshortstelegramtelegram-botthreadstiktoktwitteryoutube

Related SDKs

notjulietpdsls

atproto explorer - mirror to https://tangled.org/pds.ls/pdsls

18β€’JavaScript
FxEmbedFxEmbed

Fix X/Twitter and Bluesky embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others

3953β€’JavaScript
bluesky-socialatproto

AT Protocol Reference Implementation (TypeScript)

9105β€’JavaScript
mary-extatproto-scraping

Git scraping of AT Protocol/Bluesky instances

168β€’JavaScript
mary-extbluesky-labeler-scraping

Git scraping of Bluesky labelers/label providers

68β€’JavaScript
bluesky-socialozone

web interface for labeling content in atproto / Bluesky

503β€’JavaScript

Resources

GitHub RepositoryProject Website

License

GPL-3.0

Author

pugson
pugson

Activity

Last commit: January 3, 2026
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

πŸ“§ Contact us via emailπŸ¦‹ Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news πŸ¦‹

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirstoCoast Fire CalculatorAsphalt CalculatorDog Names World

This website may contain affiliate links

Β© 2026 BskyInfo. All rights reserved.