-
-
Save raulfmiranda/11228616bd87f9713753d109a183b76e to your computer and use it in GitHub Desktop.
Scripts that auto likes posts on instagram via tag.
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
let likesGiven = 0; | |
setInterval(() => { | |
let heart = document.getElementsByClassName('glyphsSpriteHeart__outline__24__grey_9'), | |
arrow = document.querySelector('.coreSpriteRightPaginationArrow'); | |
if (heart[1]) { | |
heart = heart[1].parentElement; | |
likesGiven++, heart.click(); | |
} | |
arrow.click(); | |
console.log(`You've liked ${likesGiven} post(s)!`); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment