Releases: gaerae/facebook-contest-winner
Releases · gaerae/facebook-contest-winner
v2.0
Overview
📋 You can easily and quickly pick a winner by browser.
- Open the Facebook page or group post.
- Open the Facebook comment or share dialog in a new tab.
- Open the Console in browser. (Windows or Linux: Ctrl + Shift + J / macOS: Cmd + Opt + J)
- Copy and Paste all the contents of the index.js file.
- Click the Button to View more comments or shares.
- 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)
Overview
📋 You can easily and quickly pick a winner by browser.
- Open the Facebook page or group post.
- Open the Facebook comment or share dialog in a new tab.
- Open the Console in browser. (Windows or Linux: Ctrl + Shift + J / macOS: Cmd + Opt + J)
- Copy and Paste all the contents of the index.js file.
- Click the Button to View more comments or shares.
- 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();