0.1.1 • Published 10 years ago

gofacebook v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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

  • page: Search for fanpages
  • group: Search for contents in specific group (you need to set a query string too)
  • hash: Search for hashtags

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