gofacebook

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i gofacebook

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • vitorbritto