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