Code Monkey home page Code Monkey logo

fbvideosfortelegram-bot's Introduction

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

fbvideosfortelegram-bot's People

Contributors

freshsauce avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.