Bagaimana menyukai posting di Instagram JS
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);
Anthony Smith