Command line interface for Facebook
$ npm install facebook-cli
$ fb version
0.0.1
Before starting, you need to create a facebook app, and tell facebook-cli about your credentials (App ID, App Secret).
$ fb config
Info about current credentials owner.
$ fb me
You are Vahe Hovhannisyan. Your ID is 522128874
Link to your profile: https://facebook.com/vhpoet
Post message to facebook wall.
$ fb post "Hello Facebook"
Status update has been posted.
Here is the link: https://facebook.com/522128874_10151999617388875
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:
- 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.
- Fork the repository.
- Make the code changes in your fork.
- Open a pull request.
Facebook CLI is released under the MIT license. See LICENSE.