Like Tweets and Follow Twitter Users with this iMacros Script Bot

A combination of my previous scripts that will follow users then like three of their latest tweets. I found this script to be the best method to grow your followers compared to just following users in bulk. As in my previous scripts I added a wait time between likes. You may run into issues if Twitter notices you’re liking things too quickly. Also, the script will only follow a user if their account is private. 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 !ERRORIGNORE YES
SET !VAR1 2
SET !LOOP 1
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}}

TAG POS=1 TYPE=BUTTON ATTR=CLASS:ProfileTweet-actionButton<SP>js-actionButton<SP>js-actionFavorite
WAIT SECONDS=1
TAG POS=2 TYPE=BUTTON ATTR=CLASS:ProfileTweet-actionButton<SP>js-actionButton<SP>js-actionFavorite
WAIT SECONDS=1
TAG POS=3 TYPE=BUTTON ATTR=CLASS:ProfileTweet-actionButton<SP>js-actionButton<SP>js-actionFavorite
WAIT SECONDS=2

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

 

2 Comments on “Like Tweets and Follow Twitter Users with this iMacros Script Bot”

    1. Hi David,
      Try removing the quotation marks on line six and replace the spaces between words with <SP>. That should fix your issue. Might have to do this for all lines that use quotation marks.

Leave a Reply

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