Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

hellotoby/reactionator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactionator

Retrieves a Facebook post's reactions for you.

Installation

npm install reactionator -g

or

yarn global add reactionator

Requirements

Reactionator has a few requirements in order to work properly.

Options

-h, --help                    output usage information
-V, --version                 output the version number
-a --app, [app]               Facebook app ID
-s --secret [secret]          Facebook app secret
-p --page [page]              Facebook page ID
-i, --id [id]                 Facebook post ID
-t, --timeout [milliseconds]  The number of milliseconds to watch the url.
-l, --limit [limit]           The total number of reactions to return, defaults to 1000

Output

Reactionator will output an object which looks like this:

{ NONE: 0,
  LIKE: 8,
  LOVE: 2,
  WOW: 0,
  HAHA: 0,
  SAD: 1,
  ANGRY: 1,
  THANKFUL: 0,
  PRIDE: 0 }

About

Retrieves a Facebook post's reactions for you

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published