This scripts help you to grow your business or personal account on instagram. The most common way to get followers is follow a lot of people, wait some time and unfollow them, this is what the script does, but automated.
There is no magic, we use a browser simulator built in javascript, the script login in your account and start clicking on buttons.
The scripts only depends the browser simulator called CasperJS: http://casperjs.org/
To install CasperJS you need a dependency manager called NPM https://www.npmjs.com/
- Download source files.
- Inside each file, you need to change the first variables
- login.js
- YOUR_USERNAME
- YOUR_PASSWORD
- ENTER_BUTTON_NAME (Depends on your language, ex: Log In, Entrar, Anmelden)
- findfollowers.js
- TAG (The script will follow people using this hashtag)
- follow.js
- FOLLOW_BUTTON_NAME (Depends on your language, ex: Follow, Seguir, Folgen)
- unfollow.js
- FOLLOW_BUTTON_NAME (Depends on your language, ex: Following, Seguindo)
- login.js
You need to run each script to get the desired behavior
casperjs --verbose --log-level=debug --ignore-ssl-errors=true --ssl-protocol=any --cookies-file=/tmp/cookies test login.js
This script login in your account, it is using the file /tmp/cookies
to store your login information, so you don't need login
again to perform each action. You will login once, given that the session will expire, will need to run the login again.
casperjs --verbose --log-level=debug --ignore-ssl-errors=true --ssl-protocol=any --cookies-file=/tmp/cookies test findfollowers.js
This script will search for your chosen hashtag and store 10 people in the /tmp/peopletofollow
casperjs --verbose --log-level=debug --ignore-ssl-errors=true --ssl-protocol=any --cookies-file=/tmp/cookies test follow.js
This will open the /tmp/peopletofollow
file and follow each person.
casperjs --verbose --log-level=debug --ignore-ssl-errors=true --ssl-protocol=any --cookies-file=/tmp/cookies test unfollow.js
This will open the /tmp/peopletofollow
file and unfollow each person.
IMPORTANT: Wait some time between follow and unfollow, because may takes some minutes to people follow you back.
You can improve doing a shell script that call every javascript in a loop, example:
login
Start forever loop:
find followers
follow
wait 20 minutes
unfollow
end loop: