This is a cool telegram bot to short links. Simply start the bot and send /short [link you want to short]
. If you want to deploy this bot follow these steps.
- From @BotFather create new bot and get that bot's api key and replace it with
[BOT API KEY]
.
- Go to bit.ly and create a account. Got to Settings >> API >> (Enter password) > Generate Token and copy that token.
- Then Replace it with
[ACCESS_TOKEN]
in 33th line on bot.py.
- Go to cutt.ly and create a account.
- Then Go to API >> API KEY >> Manage APi (Under API key in right side of page) >> (Enter passwaord) > Change API Key.
- Then replace it with
[API_KEY]
in 40th line in bot.py.
If you don't know how do that join Cyber Hacker to learn it.