Skip to content

craziks-creator/my_daily_twitter

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Dockerfile 0.9%