Telegram Bot that sends information from VK, Facebook, Twitter and Youtube

nrjshka, updated 🕥 2022-01-22 13:40:26


Telegram Bot, which sends out information from Vkontakte, Facebook, Twitter and Youtube.
The essence of the work lies in the work of the Flask-server and the independent Python-parser.

Deploy to heroku

To get started

To get started, you need to install the package specified in the requirements.txt
Also, you should install NodeJS and PhantomJS - the benefit of this is the manuals and I do not have to describe all this here.
To check up working capacity it is possible a command (in a project root):python3
The same goes for the work of the parser, just try to run it by going to the folder /parser: python3


When the server starts, Telegram Webhook is initialized. Also, it has a list of methods that process and issue certain data.


  1. /getsubs - Provides subscriptions in the form of serialized json data
  2. /setupdates - Accepts GET data from the parser and updates the state in the database + sends the posts to clients.


Runs every n seconds (the default value is 120).
Sends a POST request to the server; when you receive data - starts to run through the links.
Forms a json update list for each group - when new data is received, it sends to the server.
Now only Vkontakte support is added.


Need to reorganize project structure for adding not only VK support

opened on 2017-11-29 15:46:26 by nrjshka

Need to reorganize project structure for adding not only VK support. At first need to change database structure. Further we need to edit POST-methods in Flask server. This should be done as adaptively as possible, so that the architecture is ready for a new social media handler.

Max Korolev

Crypto | Web | Software Development

GitHub Repository

telegram heroku vk youtube