Instagram is constantly making it harder to create any kind of bots, the instabot API used in this script is not being maintained anymore.
And I keep getting issues about the 4xx errors, meaning there is no guarantee this script will work.
Finds and removes everyone who hasn't interacted with the last 100 of your posts
Download the latest release here
- If you're on windows download the the ready to use
.exefrom here or - Install instabot using:
pip install instabot - Locate the package using
pip show instabotand navigate to the given path - Copy files from
to_replacefolder to the opened instabot location and replace the originals - Launch the script:
python remove_ghosts.py
- Every username or user ID in the
whitelist.txtfile will be ignored
- If you happen to have a list of usernames you want to remove you can use the
--listor-largument and provide the filename - Like
python remove_ghosts.py --list yourfilename.txt
- If you receive a
403error, you have to wait ~1h before continuing
