Last active
September 18, 2023 13:01
-
-
Save mtimkovich/b31b54f182ce4099fa1e8881cbe3e849 to your computer and use it in GitHub Desktop.
Facebook Like Bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run in developer console | |
// var likes = document.getElementsByClassName('UFILikeLink _4x9_'); // Just for posts | |
var likes = document.getElementsByClassName('UFILikeLink'); // For all likes | |
(function clicker (links) { | |
setTimeout(() => { | |
links[0].click(); | |
if (links.length > 1) { | |
clicker(links.slice(1)); | |
} | |
}, 1000); | |
})(likes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.facebook.com/khachoang.nguyen.524