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.txt
inside themain.py
folder to install the requirements. - Google Chrome updated to the latest version.
- Rename
config-sample.json
toconfig.json
andtags-sample.txt
totags.txt
inside theconfig
folder. - In your
tags.txt
file, each line should be an Instagram username for your tag list. Make sure there are NO empty lines. - In
config.json
complete the following fields:
username
Your instagram username.password
Your instagram password.ig_post_url
The instagram link of the post.comment_format
What you want to comment. Each[tag]
field will be a different tag from your tags list.session_comments
How many comments to make before a 3 minute break happens (recommended:5
)per_hour_comments
Maximum number of comments before a 1 hour break happens. (recommended:50
)debug
Show debug logs in the console (true/false) (recommended:true
).keep_comment_logs
Create acomments.log
file 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
- macOS
pyinstaller --clean main.py && cp -r "config-dist" "./dist/main/config" && rm -rf main.spec