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
.exe
from here or - Install instabot using:
pip install instabot
- Locate the package using
pip show instabot
and navigate to the given path - Copy files from
to_replace
folder to the opened instabot location and replace the originals - Launch the script:
python remove_ghosts.py
- Every username or user ID in the
whitelist.txt
file will be ignored
- If you happen to have a list of usernames you want to remove you can use the
--list
or-l
argument and provide the filename - Like
python remove_ghosts.py --list yourfilename.txt
- If you receive a
403
error, you have to wait ~1h before continuing