Auto commenting bot for Instagram.
Works great on multi-participation allowed giveaways.
- Install Python 3.11.4 (or later) & pip from https://www.python.org/
- Use
pip install -r requirements.txtinside themain.pyfolder to install the requirements. - Google Chrome updated to the latest version.
- Rename
config-sample.jsontoconfig.jsonandtags-sample.txttotags.txtinside theconfigfolder. - In your
tags.txtfile, each line should be an Instagram username for your tag list. Make sure there are NO empty lines. - In
config.jsoncomplete the following fields:
usernameYour instagram username.passwordYour instagram password.ig_post_urlThe instagram link of the post.comment_formatWhat you want to comment. Each[tag]field will be a different tag from your tags list.session_commentsHow many comments to make before a 3 minute break happens (recommended:5)per_hour_commentsMaximum number of comments before a 1 hour break happens. (recommended:50)debugShow debug logs in the console (true/false) (recommended:true).keep_comment_logsCreate acomments.logfile that keeps logs of all your comments (recommended:true).
Notes:
- You need to have 2FA disabled on your Instagram account.
- The more tags you use, the safer your account will be. This is because Instagram will limit accounts that make the same comment over and over again, so less tags means you're most likely to make a comment you have already made before.
- Creating new accounts will not produce many comments; instead they will get blocked. Instagram's algorithm is designed to limit accounts that do not seem legit based on several variables (account creation date, comment/like activity, following activity, interaction with other people, etc.). It would be best to use a legit account.
- Windows
pyinstaller --clean main.py && Xcopy /E /I "config-dist" "./dist/main/config" && del main.spec
Or build into a single executable with:
pyinstaller --clean --onefile main.py && Xcopy /E /I "config-dist" "./dist/config" && del main.spec
- macOS
rm -rf dist build && pyinstaller --clean main.py && cp -r "config-dist" "./dist/main/config" && rm -rf main.spec
Or build into a single executable with:
rm -rf dist build && pyinstaller --clean --onefile main.py && cp -r "config-dist" "./dist/config" && rm -rf main.spec