Home

Awesome

Go Facebook NPM version GitHub version

Search for hashtags, contents in groups or fanpages at Facebook.

IMPORTANT: you need to be logged in on Facebook!

Install

$ npm install gofacebook -g

This will make gofb and the shorter fb alias available on the command line.

Usage

$ fb [options] <query>

Help: run fb -h to output instructions.

Available Options

-t or --type [option: page|group|hash]

Example

# Search in groups: fb (-t or --type) [option] [name of group] [query string]
$ fb -t group frontendbrasil responsive web design

# Search hashtags: fb (-t or --type) [option] [name of hashtag]
$ fb -t hash mobilefirst

# Search pages: fb (-t or --type) [option] [name of page]
$ fb -t page javascript

Contribute

Feel free to contribute with this project or leave a suggestion.

License

MIT License © Vitor Britto