Skip to content

About

A Facebook bot for Telegram

Topics

Resources

Stars

48 stars

Watchers

11 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FacebookBot

A Facebook bot for Telegram.

dependenciesnpm version

I'm a Facebook bot. I help you to communicate with your old Facebook friends through Telegram ! I will forward every of your FB messages. I will also forward your answers if you select to reply their messages.

Install

  • Create your Telegram bot, follow the instruction here.
  • Clone this repository and install nodejs package.
git clone https://github.com/Liryna/FacebookBot.git
cd FacebookBot
npm install
  • Create the configuration file config.json.
{
  "email": "YOUR EMAIL",
  "password": "YOUR PASSWORD",
  "dir": "FacebookBot DIRECTORY"
}

##Usage

  • This bot require some additional information in the your environment variables.
TELEGRAM_USER="your telegram login"
APP_TOKEN="the token of your bot that BotFather gave you"
  • Run it.
TELEGRAM_USER="Mario" APP_TOKEN="TOKEN" node facebookbot.js
  • The bot cannot establish a conversation to you directly, you need to write him first. Use your Telegram Client to say him "Hello".
  • The Available commands to send to your bot:
/threadlist - List the latest conversations you had with your friends.
/cancel - Cancel the current command.

Dependencies

This bot use Schmavery/facebook-chat-api and depoio/node-telegram-bot.

About

A Facebook bot for Telegram

Topics

Resources

Stars

48 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages