Skip to content

v1.0 (Initial release)

Compare
Choose a tag to compare
@gaerae gaerae released this 18 Oct 13:58
· 1 commit to master since this release
d398b63

Overview

📋 You can easily and quickly pick a winner by browser.

  1. Open the Facebook page or group post.
  2. Open the Facebook comment or share dialog in a new tab.
  3. Open the Console in browser. (Windows or Linux: Ctrl + Shift + J / macOS: Cmd + Opt + J)
  4. Copy and Paste all the contents of the index.js file.
  5. Click the Button to View more comments or shares.
  6. Go to Usage.

Usage

🎉 Pick a Winner from Comment

Example: Facebook Comment

// Number of winners
FacebookContestWinner.comment(3);

// Designated winners is Optional Parameter
FacebookContestWinner.comment(3, [123, 456, 789]);

🎉 Pick a Winner from Share

Example: Facebook Share

// Number of winners
FacebookContestWinner.share(3);

// Designated winners is Optional Parameter
FacebookContestWinner.share(3, [123, 456, 789]);

📜 Automatically view all comments (Optional)

Please use it on the comment page.

Example: Facebook Comment

FacebookContestWinner.viewAllComments();

📜 Automatically view all shares (Optional)

Please use it on the share page.

Example: Facebook Share

FacebookContestWinner.viewAllShares();