Awesome
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
- Clone this repository in your server/computer
- Duplicate
docker-compose.yml
todocker-compose-prod.yml
or simple run thiscp docker-compose.yml docker-compose-prod.yml
- Edit the enviroment variables with yours in
docker-compose-prod.yml
file, where theTELEGRAM_CHAT_ID
can be get using the bot @getidsbot, and theTELEGRAM_TOKEN
can be obtained from @BotFather, and setFB_EMAIL
with your facebook email or username,FB_PASSWORD
place your facebook password. - Now launch your bot!, run this:
docker-compose -f docker-compose-prod.yml up
. - 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.