Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Alex-Rose/fb-messenger-cli
fb-messenger-cli, console Facebook messenger
https://github.com/Alex-Rose/fb-messenger-cli
chat-application command-line-app facebook facebook-api facebook-messenger messenger-client
Last synced: 8 days ago
JSON representation
fb-messenger-cli, console Facebook messenger
- Host: GitHub
- URL: https://github.com/Alex-Rose/fb-messenger-cli
- Owner: Alex-Rose
- Created: 2016-05-13T13:32:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:55:22.000Z (almost 2 years ago)
- Last Synced: 2024-07-10T02:14:20.818Z (4 months ago)
- Topics: chat-application, command-line-app, facebook, facebook-api, facebook-messenger, messenger-client
- Language: JavaScript
- Homepage:
- Size: 465 KB
- Stars: 755
- Watchers: 24
- Forks: 103
- Open Issues: 77
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://nodei.co/npm/fb-messenger-cli.png?downloads=true)
#### Install
``npm install -g fb-messenger-cli``
Then ``fb-messenger-cli`` from anywhere### Choose a friend
- Pick from a list of recent conversations
- Use /search to find other friends
- Easily switch between conversations with /switch
![Selection](http://puu.sh/pSNkL/7d82e4d9f2.png)### Chat away
- Get responses instantly in real-time
- See when your friends are typing *NEW*
![Chat](http://puu.sh/pSNNb/e7e08ca16e.png)### Helpful settings and commands
- Toggle timestamps on/off
- Color coded people in group chats
- Load an unlimited number of conversations
- Use custom nicknames
- Stay logged in forever *almost
> /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
- 2FA is not currently supported
- Requires a node version that supports most ES6 feautres (i.e node 6.x)### Dev install instructions
1. Run ``npm install`` for dependencies
3. Run ``node cli``
4. 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