craziks-creator / my_daily_twitter

Posts a tweet per day. You can add tweets via telegram.

Home Page:https://t.me/my_daily_twitter_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My daily twitter bot

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

About

Posts a tweet per day. You can add tweets via telegram.

https://t.me/my_daily_twitter_bot

License:MIT License


Languages

Language:Python 99.1%Language:Dockerfile 0.9%