-
-
Save jadeallencook/139a3d5f9291c2d612d91c8b8c72a755 to your computer and use it in GitHub Desktop.
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); | |
*/ |
In a instagram hashtag i click on a image and then I copied the code from devlillious in the console. But i get e error. 🤷🏼♂️
Can you try mine? But I need to warn you. Thouse Auto Like Scripts are Forbidden and can cause a permanently ban from Instagram. So be careful by using them.
Instagram is constantly evolving to prevent botting and scripting. Does the classes and IDs of Instagram call each other again and again.
In a instagram hashtag i click on a image and then I copied the code from devlillious in the console. But i get e error. 🤷🏼♂️
I'm devlillious, just a new account for work.
My code most likely doesn't work anymore. It did at one point but like @PassCody stated, instagram is constantly evolving and changing their code.
Hello, I wrote some code you can use https://github.com/zone0119/instalike
In a instagram hashtag i click on a image and then I copied the code from devlillious in the console. But i get e error. 🤷🏼♂️