🇺🇸 English | ᴘᴛ Português | 🇧🇷 Português
Follow the step by step guide to run this code the proper way.
⭐ If you liked this project, please give it a star
- Python 3.8+ installed on your system;
- A valid Instagram account with username and password;
- Active internet connection.
git clone https://github.com/dev-ggomes/auto-unfollow-and-remove-follower4-instagram.git
cd auto-unfollow-and-remove-follower4-instagram
python --version
Important
Ensure the output is 3.8 or higher.
chmod +x main.py
The script will prompt you for your Instagram credentials at runtime.
Note
No hardcoded credentials are stored in this repository.
Run the script with the desired action and target usernames (without the @
symbol):
-
Unfollow users
python main.py unfollow username1 username2 username3
-
Remove followers
python main.py remove follower1 follower2 follower3
$ python main.py unfollow alice bob
Username Instagram: your_username_here
Password Instagram: your_password_here (the password is not going to be stored at any place)
Login successful.
Unfollowed alice: OK
Unfollowed bob: OK
-
CSRF errors or unexpected responses: Wait a few seconds and retry--Instagram may rate-limit rapid requests;
-
Login failures: Verify that your username and password are correct;
-
Temporary blocks: If Instagram temporarily blocks your IP or account, wait at least 15 minutes before retrying.
Warning
I am NOT responsible for any taken actions by Instagram to your account or your IP, either they are temporarily or permantly. This script was developed to test my knowledge. Use it on your own responsibily and risk.
This project is distributed under the MIT License. Check LICENSE for full terms.