/twitter-video-go

Fetches twitter video, from status link

Primary LanguageGo

twitter-video-go 🤖

Telegram bot to fetch video from twitter status links

Deploy

You can deploy this to heroku

Deploy

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.

Install

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

Usage

Send a twitter link to the bot in telegram and it will reply with the downloadable video link

Author

👤 Subhrajit Prusty

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator