https://github.com/vhpoet/facebook-cli
Command line interface for Facebook written in node.js
https://github.com/vhpoet/facebook-cli
Last synced: 8 months ago
JSON representation
Command line interface for Facebook written in node.js
- Host: GitHub
- URL: https://github.com/vhpoet/facebook-cli
- Owner: vhpoet
- License: mit
- Created: 2013-10-20T21:11:05.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2014-01-16T21:50:20.000Z (over 12 years ago)
- Last Synced: 2025-08-09T05:59:57.543Z (10 months ago)
- Topics: facebook
- Language: JavaScript
- Homepage:
- Size: 328 KB
- Stars: 35
- Watchers: 10
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Facebook CLI
============
Command line interface for Facebook
## Installation
```
$ npm install facebook-cli
$ fb version
0.0.1
```
## Getting Started
Before starting, you need to [create a facebook app](https://developers.facebook.com/apps), and tell facebook-cli about your credentials (App ID, App Secret).
```
$ fb config
```
## Examples
### fb me
Info about current credentials owner.
```
$ fb me
You are Vahe Hovhannisyan. Your ID is 522128874
Link to your profile: https://facebook.com/vhpoet
```
### fb post {message}
Post message to facebook wall.
```
$ fb post "Hello Facebook"
Status update has been posted.
Here is the link: https://facebook.com/522128874_10151999617388875
```
### 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!
```
## TODO
Here goes an unlimited section of TODOs..
## Contributions
Whether you want to fix a bug or implement a new feature, the process is pretty much the same:
0. [Search existing issues](https://github.com/vhpoet/facebook-cli/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.
1. [Fork](https://github.com/vhpoet/facebook-cli/fork) the repository.
2. Make the code changes in your fork.
3. Open a pull request.
## License
Facebook CLI is released under the MIT license. See [LICENSE](https://github.com/vhpoet/facebook-cli/blob/master/LICENSE).