https://github.com/baruchiro/telegram2twitter
My custom Telegram Bot to customize messages and tweet them with my Twitter account.
https://github.com/baruchiro/telegram2twitter
automation libby libbyapp overdrive telegram-bot twitter
Last synced: about 1 month ago
JSON representation
My custom Telegram Bot to customize messages and tweet them with my Twitter account.
- Host: GitHub
- URL: https://github.com/baruchiro/telegram2twitter
- Owner: baruchiro
- License: mit
- Created: 2020-12-23T07:41:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-16T18:33:23.000Z (over 3 years ago)
- Last Synced: 2025-04-15T09:16:46.775Z (about 1 month ago)
- Topics: automation, libby, libbyapp, overdrive, telegram-bot, twitter
- Language: Python
- Homepage: https://twitter.com/baruchiro
- Size: 48.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram2twitter
My custom Telegram Bot to customize messages and tweet them with my Twitter account.
## How to use
### Variables
Set the next variables in the `.env` file. You can insert them with the script CLI if you want.
The next values are available in your [Twitter Developer Portal](https://developer.twitter.com/en/portal/projects-and-apps):
- `TELEGRAM_TWITTER_CONSUMER_KEY`
- `TELEGRAM_TWITTER_CONSUMER_SECRET`
- `TELEGRAM_TWITTER_ACCESS_TOKEN`
- `TELEGRAM_TWITTER_TOKEN_SECRET`You need also to ask Telegram [BotFather](https://t.me/botfather) to give you the *Bot Access Token* for `TELEGRAM_TWITTER_BOT_TOKEN`.
Last variable is your `TELEGRAM_TWITTER_USER_ID`. You can launch the bot without it, and then you can get it by running the command `/id` in the bot.