Search for hashtags, contents in groups or fanpages at Facebook.
IMPORTANT: you need to be logged in on Facebook!
$ npm install gofacebook -g
This will make gofb
and the shorter fb
alias available on the command line.
$ fb [options] <query>
Help: run fb -h
to output instructions.
page
: Search for fanpagesgroup
: Search for contents in specific group (you need to set a query string too)hash
: Search for hashtags
# 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
Feel free to contribute with this project or leave a suggestion.
MIT License © Vitor Britto