Press ESC to close

How to Get More Instagram Followers for Free With a JavaScript Bot

Martin 0

There are several ways that one can use to start making money on Instagram. Everyone, including you, can start making some money online via Instagram. In fact, Instagram is one of the best ways that teens can use to start earning their own money.

Using Instagram to earn some money is not similar to employment. The only requirement that you must meet to start earning is to have a good following. The more followers you have and the more engaging they are, the more money you can make.

If your Instagram account does not have a robust following, it is time that you learn how to get real and organic Instagram followers faster. You don’t have to buy followers for Instagram, there are many ways that you can use to get free Instagram followers. In this post, we will be talking about how you can use JavaScript to get more Instagram followers.

Automate your Instagram account with a JavaScript bot

Have you just completed your web programming course and are probably wondering what you can do with that knowledge? If you are good at JavaScript, you can create a bot to automate your Instagram account. For those who have not done a web programming course, we will be sharing with you the code that you can use to create your own Instagram bot. 

The best way to get more Instagram followers is to engage with people. Unfortunately, it can take you a lot of effort and time to grow your Instagram following organically. It can be much better if you start by automating your account and then start engaging with people by publishing interactive posts on your page. 

Steps to automate following Instagram users using a JavaScript bot

instagram follow bot

We all know that you can increase your Instagram following by following other users. That is because some users always follow back. Having to click at the Follow button to follow just one user can be tiring and time-consuming. You can use JavaScript to automate that process. Remember, the more users you follow, the more the people that are likely to follow you back.

This method will help you create a JavaScript bot that automates the following of users on Instagram. With this bot, you won’t have to be clicking at the follow button every time you want to follow users that are on your suggested list. Follow the following steps to create a JavaScript bot for your Instagram account that will help you follow as many people as possible.

1. Sign in to your Instagram account and then go to

2. Press Cmd + Shift + J on your Mac to open the JavaScript console. If you are using Windows, press Ctrl + Shift + J.

3. Copy the following code and then paste it on your console

(() => {

let i = 0;

const followInterval = setInterval(() => {

if (i >= 30) {




const buttons = document.querySelectorAll(‘button’);

const nextButton = buttons[i];;

i += 1;

}, 500)


4. Press Enter to activate the bot.

After pressing the Enter button, the bot will start following the suggested people as you can see in the image below. The bot will follow 30 people and then stop. Once it stops following, you should refresh the page and then press Enter to continue.

javabot follow

You can edit line four of the above code from if (i >= 30) {   to  if (i >= X) {

Replace X with the number of people you want your bot to follow every time you activate the code. Your X should not be higher than 30. That is because Instagram limits the number of people that you can follow in a certain time frame. You are allowed to follow 20 to 60 users in an hour, a maximum of 100 to 200 users in a day, and a total of 7500 follows. 

It is possible to get to the 7500 follows mark. When using this method, you should remember to unfollow after some time. The best thing is that Instagram does not send any notification when you unfollow someone. The only thing that happens is that will not continue seeing their stories in your feed. To avoid having them unfollow you after unfollowing them, you should for some days before unfollowing users. This method is good for people who are looking to be making about 50 followers in a day. It might be a good starting point, but you should embrace other strategies as soon as possible. After getting the first few followers, you should start publishing quality posts on your page. 

To avoid losing your current followers, while attracting other Instagrammers to follow you, you should not only post consistently but also engage your fans. You also have to be creative when asking your fans to Like, Comment, and Share your posts.

Continue reading