Skip to content

This repository includes a Bot designed for Telegram to download Facebook Videos

License

Notifications You must be signed in to change notification settings

freshSauce/FBVideosForTelegram-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FB Videos For Telegram (BOT)

With this bot you can make your telegram chat even better, make sure you have your own API_TOKEN! This BOT works ONLY with Mentions (at the moment).

Installing the required modules

Use the package manager pip to install the required modules.

pip install -r requirements.txt

Usage

Make sure to replace <BOT_TOKEN> with your own token

bot_token = '<BOT_TOKEN>'

Also make sure to change <@BotName> with your bot's @

bot.message_handler(func=lambda msg: msg.text is not None and '@BotName' in msg.text)

Once you've done those changes, go to your Telegram Chat and add your bot (verify if your bot's privacy is enabled, if so, disable it or give your bot Administrator perms). To use the bot just Mention him and type your video url.

Example:

@MyBot https://www.facebook.com/frenchguycooking/videos/418182695816256/

The bot should return us the link to our video.

Tested on

Python 3.7

License

GNU 3.0

About

This repository includes a Bot designed for Telegram to download Facebook Videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages