Twitter Follow and Unfollow iMacros Script

This is my first Twitter script. It took a couple of hours but I finally got it working. This iMacros script will follow and unfollow users in bulk. To unfollow users simply go to your Following list and run the script. To follow users go to an account with Followers you want to target. I go through everything in the video above. If you have any questions drop a comment below or shoot me an email. Sign up for my newsletter for more Twitter scripts.

SCRIPT:

SET !VAR1 4
TAB T=1
TAG POS=1 TYPE=A ATTR=CLASS:fullname<SP>ProfileNameTruncated-link<SP>u-textInheritColor<SP>js-nav EXTRACT=TXT
SET !EXTRACT NULL
TAG POS=R{{!LOOP}} TYPE=A ATTR=CLASS:fullname<SP>ProfileNameTruncated-link<SP>u-textInheritColor<SP>js-nav EXTRACT=HREF
SET !VAR3 {{!EXTRACT}}

TAB OPEN
TAB T=2
URL GOTO={{!VAR3}}
WAIT SECONDS={{!VAR1}}
TAG POS=1 TYPE=SPAN ATTR=CLASS:user-actions-follow-button<SP>js-follow-btn<SP>follow-button
WAIT SECONDS={{!VAR1}}

TAB CLOSE
TAB T=1
WAIT SECONDS={{!VAR1}}

 

6 Comments on “Twitter Follow and Unfollow iMacros Script”

    1. I figured out why you’re getting this error. Some versions of iMacros won’t let you use quotation marks. I updated the script. Let me know if it still doesn’t work for you.

  1. These scripts have been a lifesaver, how can I repay you? Also, for this script is is possible to only unfollow those that down’t follow me back?

    1. Hey Jack,
      Glad the script helped you. You can repay me by making a Paypal donation through the site. It helps me keep pay for servers costs. To do that with iMacros you would need a custom script.

Leave a Reply

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