Skip to content

Releases: gaerae/facebook-contest-winner

v2.0

18 Oct 14:53
Compare
Choose a tag to compare

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

An example is the number of 3 winners

Example: Facebook Comment

// winners in the comment
fcw.comment(3);

// winners in the share
fcw.share(3);

// winners in the like
fcw.like(3);

// winners who both shared and commented
fcw.share_comment(3);

// winners who both liked and commented
fcw.like_comment(3);

v1.0 (Initial release)

18 Oct 13:58
d398b63
Compare
Choose a tag to compare

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();