Skip to content

Instantly share code, notes, and snippets.

@jadeallencook
Last active December 18, 2025 13:32
Show Gist options
  • Select an option

  • Save jadeallencook/139a3d5f9291c2d612d91c8b8c72a755 to your computer and use it in GitHub Desktop.

Select an option

Save jadeallencook/139a3d5f9291c2d612d91c8b8c72a755 to your computer and use it in GitHub Desktop.
instagram autolike script
let likes = 0;
setInterval(() => {
const heart = document.querySelector('svg[aria-label="Like"][width="24"]');
const arrow = document.querySelector('svg[aria-label="Next"]');
if (heart) {
heart.parentNode.parentElement.click()
likes++;
console.log(`You've liked ${likes} post(s)`);
}
arrow.parentElement.parentElement.click();
}, 20000);
/*
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);
*/
@Gr8shrkxyZ
Copy link

OMG i just want to say THANK YOU !!!! this is so good :) Does anyone know how many likes does Instagram let you do before they ban you ? how long do you guys run this code for ?

Plz help

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