Diff Checker for Followers vs Following
InstaDiff is a Python-based tool that helps Instagram users analyze their followers and following lists by comparing them to detect:
- Users who don’t follow you back
- Ghost followers (people who follow you, but you don’t follow back)
- Complete following audit for Instagram accounts
This tool works for both private and public accounts and does not require API access, Selenium, or automation login—making it a safe and reliable way to track your Instagram network.
Initially, I considered two main approaches:
-
Instagram Graph API
- Problem: Works only for business/creator accounts linked to a Facebook page.
- Limitation: Cannot fetch followers for personal/private accounts.
-
Web Scraping (Selenium)
- Problem: Instagram detects automation, often leading to login issues or account bans.
- Limitation: High maintenance, as Instagram frequently updates its website.
I chose the Instagram data download method because:
- Works for all account types (private, public, business, creator).
- No risk of detection or account suspension (no automation needed).
- More reliable than APIs or web scraping.
- Direct JSON data from Instagram provides accurate results.
Follow these steps to download your followers & following list:
1️⃣ Open Instagram and go to Settings → Accounts Center → Your information & permissions → Download your information
2️⃣ Choose "Download or Transfer Information"
3️⃣ Click "Request a Download" → Choose "JSON" format
4️⃣ Under Some of your information, pick Followers and following
(Or choose Complete copy if you want everything.)
5️⃣ Submit -> Wait for the email -> Download the ZIP
Note: There are some screenshots attached at available to show the steps clearly in Information-Download_Screenshots
You should see files like:
followers_and_following/followers.json
followers_and_following/following.jsonfollowers_and_following/followers.json
followers_and_following/followers_1.json
followers_and_following/followers_2.json
followers_and_following/following.json
followers_and_following/following_1.jsonEnsure you have Python installed.
export DATA_FOLDER=<FOLDER-THAT-CONTAINS-FOLLOWERS-AND-FOLLOWING-JSON>
python extract.pyAlso, Please find the same working code with minute changes compared to the local script from my google colab https://colab.research.google.com/drive/13ahPYiKsUycAQbm760ojqDdbQf9P3p-M?usp=sharing