instagram bot javascript code example

Example: instagram bot javascript

//Link:- https://github.com/danielrussellLA/instagram-follow-bot-javascript/blob/master/followBot.js

// Go To "Explore Page"
// Paste in Console:

(() => {
    let i = 0;
    const followInterval = setInterval(() => {
        if (i >= 30) clearInterval(followInterval);
        const buttons = document.querySelectorAll('button');
        const nextButton = buttons[i];
        if (nextButton.textContent.toLowerCase() === 'follow') { // write in your language
            nextButton.click();
        }
        i++;
    }, 500)
})()