Skip to content

Instantly share code, notes, and snippets.

@mtimkovich
Last active September 18, 2023 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtimkovich/b31b54f182ce4099fa1e8881cbe3e849 to your computer and use it in GitHub Desktop.
Save mtimkovich/b31b54f182ce4099fa1e8881cbe3e849 to your computer and use it in GitHub Desktop.
Facebook Like Bot
// 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);
@zzonliuzz99
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment