Command line interface for Facebook written in node.js
Switch branches/tags
Nothing to show

Facebook CLI

Command line interface for Facebook


$ npm install facebook-cli
$ fb version

Getting Started

Before starting, you need to create a facebook app, and tell facebook-cli about your credentials (App ID, App Secret).

$ fb config


fb me

Info about current credentials owner.

$ fb me
You are Vahe Hovhannisyan. Your ID is 522128874
Link to your profile:

fb post {message}

Post message to facebook wall.

$ fb post "Hello Facebook"
Status update has been posted.
Here is the link:

fb download:albums {userID} {path}

Download photo albums of a friend.

$ fb download 522128874 /users/user/friendphotos
Profile Pictures downloaded successfully.
Mobile Uploads downloaded successfully.
Cover Photos downloaded successfully.

well done!


Here goes an unlimited section of TODOs..


Whether you want to fix a bug or implement a new feature, the process is pretty much the same:

  1. Search existing issues; if you can't find anything related to what you want to work on, open a new issue so that you can get some initial feedback.
  2. Fork the repository.
  3. Make the code changes in your fork.
  4. Open a pull request.


Facebook CLI is released under the MIT license. See LICENSE.