Alex-Rose / fb-messenger-cli

fb-messenger-cli, console Facebook messenger
761 stars 99 forks source link
chat-application command-line-app facebook facebook-api facebook-messenger messenger-client

fb-messenger-cli

Facebook Messenger Command line client

Use your Facebook account to chat with your friends sneakily in the command line, it's as easy as logging in, choosing a convo and chatting away.

V2.0.0 Now with Google Chrome's Puppeteer for login

npm

Install

npm install -g fb-messenger-cli Then fb-messenger-cli from anywhere

Choose a friend

Selection

Chat away

Chat

Helpful settings and commands

/help

/b /back /menu .... Get back to conversation selection

/q /exit /quit .... Quit the application

/logout ........... Exit and flush credentials

/s /switch [#] .... Quick switch to conversation number #

/search [query] ... Search your friends to chat

/v /view [#] ...... View the attachment by the number given after the type

/r /refresh ....... Refresh the current converation

/timestamp ........ Toggle timestamp for messages

/help ............. Print this message

Notes

Dev install instructions

  1. Run npm install for dependencies
  2. Run node cli
  3. Develop away

Running tests

  1. cd into the test directory
  2. Mocha should be installed with the dev dependencies
  3. Run mocha regression.js**

** Make sure you've logged in to the cli at least once before running the tests. Regression.js uses your log-in to test the sending and receiving features