-
-
Save amblerkr/e85b5c27d3a16a4e6d97b3c5fd9b382c to your computer and use it in GitHub Desktop.
Script to auto like posts on Instagram.
This file contains hidden or 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 likes = 0; | |
setInterval(() => { | |
const heart = document.querySelector('svg[aria-label="Like"]').parentNode; | |
const arrow = document.querySelector('a.coreSpriteRightPaginationArrow'); | |
if (heart) { | |
heart.click() | |
likes++; | |
console.log(`You've liked ${likes} post(s)`); | |
} | |
arrow.click(); | |
}, 5000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment