Skip to content

Instantly share code, notes, and snippets.

@mraaroncruz
mraaroncruz / steps.md
Last active April 21, 2025 20:36
Get the Telegram channel ID

To get the channel id

  1. Create your bot with botfather
  2. Make you bot an admin of your channel

Simplest way (via @anhtuank7c)

Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path

https://web.telegram.org/k/#-9999999999999

@hypnoJerk
hypnoJerk / README.md
Last active July 3, 2023 16:51
from_twitter_to_telegram

Twitter >> Telegram

Auto post tweets from Twitter, to a Telegram bot

This script simply takes a twitter user name, and fetches the latest tweets from their timeline. Then reposts those tweets to a telegram bot(or channel via a bot)

####Requirements: You need Twython installed. Twython is a twitter-python API

####Notes: