My daily twitter bot was created for https://twitter.com/myDailyZipTie, but you can use it for any scheduled tweets that you want to manage via telegram.
Just use it: https://t.me/my_daily_twitter_bot
Running it with docker-compose is easy, set these environment variables or create a file .env
:
TELEGRAM_TOKEN=yourtoken
TWITTER_CLIENT_ID=yourid
TWITTER_CLIENT_SECRET=yoursecret
# optional:
LOG_LEVEL=INFO
SENTRY_DSN=https://...
Get the necessary information for twitter from https://developer.twitter.com/ and register your telegram bot with @BotFather. If you register a bot yourself, be sure to disable the Privacy mode if you intend to use your bot inside groups. Otherwise, it won't receive messages inside telegram groups.
Start everything:
docker-compose up