Instagram Unfollow iMacros Script Bot

In my last video I gave you a simple iMacros script to automatically follow a list of Instagram users. Now we’re going to do the opposite. I like keeping the number of people I follow below 100 so I’ll use this script to unfollow several users. Let me know if you have any problems with the script.

Script used:

SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 1

SET !VAR1 3

TAG POS={{!LOOP}} TYPE=BUTTON ATTR=TXT:Following

WAIT SECONDS={{!VAR1}}

TAG POS=1 TYPE=BUTTON ATTR=TXT:Unfollow

Leave a comment if you have any questions or requests for new social media scripts. Sign up for my newsletter to get more free iMacros scripts.

8 Comments on “Instagram Unfollow iMacros Script Bot”

  1. it says there is a error on line 4 on both your unfollow and follow script, please help!

    SET !VAR1 EVAL(“var randomNumber=Math.floor(Math.random()*5 + 2); randomNumber;”)
    ^^^^
    It says there is an error here?

    1. Hi Dj,
      Sorry about that. That line is to generate a random number between 5 and 2. It’s not completely necessary. Try this code instead:

      SET !ERRORIGNORE YES
      SET !TIMEOUT_STEP 1

      TAG POS=1 TYPE=BUTTON ATTR=TXT:Following
      WAIT SECONDS=3

  2. In your video it’s auto-scrolling and when I try to play it, it’s not scrolling. I am using it on imacros 8.9.7 on firefox 53. It would be great if you type the scroll command separately, I have tried EVENT TYPE=KEYPRESS SELECTOR=* KEY=35 and its other variants, yet in vain.

    Thanks.

    1. I haven’t been blocked yet. I have noticed if you like posts too fast, Instagram will disable your account for short period.

  3. i run the script in imacros for unfollow but when i click play(loop) the unfollow process not automatic unfollow.
    There is notification keep appear ask me to unfollow or cancel. So i need to click unfollow when the notification appear just like manual way.

    Is there any error on script?

    1. Hi,
      I just tested the script and it works. When the notification pops up, the script will wait 3 seconds then it will click the Unfollow button. After that it will move on to the next one.

Leave a Reply

Your email address will not be published. Required fields are marked *