An Instagram Bot developed in Python with Selenium which uses the follow back principle to bring you followers gradually.
This bot is made to build an audience. It's not a bot that will directly bring you thousands of followers but maybe dozens of them every days. The principle is simple, the bot will search, thanks to a list of defined tags, for random posts on Instagram. For each post, the bot will like, comment and follow the author. As with Twitter, many users often follow the people who follow them. This bot therefore works on the « follow back » principle.
To be able to run this little bot, you’ll need to have:
- Python
- Selenium
- Chromedriver or Geckodriver
- Google Chrome (English version) or Mozilla Firefox
Install Python
If you don't have python installed, follow this link and download the latest version of python. Then you can check if your version of python using the command lines bellow
python3 --version
pip3 --version
Install Selenium
Then you need to install selenium using pip
pip3 install selenium
Install you driver
Depending of the browser you use, install Chromedriver or Geckodriver and put the binary file in the src/
folder.
These two lines are designed to authenticate you on Instagram. Basically change your_username and your_password to your Instagram credentials in the src/start.py
file.
account_name="your_username"
account_password="your_password"
This is the hashtags your bot will reach to find random posts and persons to comment / like / follow. Change this line with your custom tags, here I’m using trip, dronephotography and traveler tags.
hashtag_list = ['trip', 'dronephotography', 'traveler']
You can install all the libraries and modules used in this project using the below command.
pip3 install -r src/requirements.txt
Once the configuration is complete, it's time to run this bot. Simply run the command line below in a terminal:
python3 src/start.py