Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (37 loc) · 2.07 KB

README.md

File metadata and controls

52 lines (37 loc) · 2.07 KB

Telegram Messenger

IMPORTANT

Currently this project is not working as expected because the Facebook API breaks some parts of the main dependency.

Messenger to Telegram

Connect your Facebook Messenger to Telegram Easily, because Telegram is better, and do messaging and increase your productivity.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

1. Nodejs
2. Create bot in Telegram with @botfather
3. You need a Facebook account
4. (Optional but recommended) you can use Docker/Docker Compose for fast deployment

Installing

Using Docker

  1. Clone this repository in your server/computer
  2. Duplicate docker-compose.yml to docker-compose-prod.yml or simple run this cp docker-compose.yml docker-compose-prod.yml
  3. Edit the enviroment variables with yours in docker-compose-prod.yml file, where the TELEGRAM_CHAT_ID can be get using the bot @getidsbot, and the TELEGRAM_TOKEN can be obtained from @BotFather, and set FB_EMAIL with your facebook email or username, FB_PASSWORD place your facebook password.
  4. Now launch your bot!, run this: docker-compose -f docker-compose-prod.yml up.
  5. Now you will be able to receive and respond to messages from Facebook Messenger from Telegram :-)

ToDo

  • Inline buttons.
  • Send photo from Telegram to Messenger.
  • Send media (photo, video, gif, voice) from Messenger to Telegram.
  • Group and private chat support
  • Easily change current chat.
  • Show Contact List of Messenger in Telegram
  • Multilanguage option.
  • Support for Gif.
  • Support for Stickers of Messenger.
  • Support for file attachments.

Credits