Skip to content

Kreastr/FacebookBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.
  • Install nodejs package.
cd FacebookBot
npm install

##Usage

  • This bot requires some additional information in your environment variables.
TELEGRAM_USER_ID="your telegram user id"
TELEGRAM_TOKEN="the token of your bot that BotFather gave you"
FACEBOOK_USERNAME="your facebook username"
FACEBOOK_PASSWORD="your facebook password"
  • Run it.
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 ravkr/facebook-chat-api and yagop/node-telegram-bot-api.

About

A Facebook bot for Telegram

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%