Telegram bot to fetch video from twitter status links
You can deploy this to heroku
You need to provide the following secrets:
> Twitter:
CONSUMER_KEY
CONSUMER_SECRET
ACCESS_SECRET
ACCESS_TOKEN
> Telegram
TOKEN (bot token)
And set the telegram bot callback URL to your app URL: eg: twitter-video-go.herokuapp.com/update
Reload your dyno after changing these values.
If you want to run this locally:
Make sure you have go version 1.12 or newer and Heroku Toolbelt installed
$ git clone https://github.com/SubhrajitPrusty/twitter-video-go
$ cd twitter-video-go
$ go build -o bin/mybot -v .
$ heroku local
Note: This is not meant for local testing
Send a twitter link to the bot in telegram and it will reply with the downloadable video link
👤 Subhrajit Prusty
- Website: http://subhrajitprusty.github.io
- Twitter: @subhrajit_
- Github: @SubhrajitPrusty
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator