How to Find Out Who Doesn’t Follow You Back on Instagram . Using Python
Prerequisites
Before we start, make sure you have the following:
- Python installed: If you don’t have it, download it from python.org.
- Instagram JSON files: You’ll need to download your Instagram data, specifically the
followers_1.json
andfollowing.json
files. Here’s how:
- Go to your Instagram profile.
- Click on Settings -> Your activity-> Download your information.
- When requesting your data, select only the “Followers and Following” section.
- Make sure to select JSON as the format and set the date range to “All Time” (or “Desde el principio” if you’re using the app in Spanish).
3. Request your data and wait for Instagram to email you a download link.
4.Once you’ve downloaded the ZIP file, look for the followers_1.json
and following.json
The Python Script (or “The Detective of the Unfollowed”)
Code Explanation
- Loading JSON Files: The script loads the
followers_1.json
andfollowing.json
files. Basically, it reads your social life in JSON format. - Extracting Usernames: It extracts the usernames of your followers and the users you follow.
- Comparison: It compares the two lists to identify users who don’t follow you back.
- Results: It displays a list of users who don’t follow you back.
Important Note: Update the File Paths
Before running the script, you must update the followers_path
and following_path
variables with the actual paths to your followers_1.json
and following.json
files. For example:
Why This Method Is Better Than Using Third-Party Apps..
You’ve probably seen those apps and websites that promise to tell you who doesn’t follow you back. But do you know what they all have in common? They ask for your Instagram username and password. Not only is this insecure, but it also violates Instagram’s policies and could put your account at risk.
With this method:
- You don’t need to share your credentials.
- You don’t rely on third-party apps.
- You have full control.
Conclusion
With a bit of Python, you can find out who doesn’t follow you back.
In the future, I plan to improve this script to make it even more user-friendly. For example, I’ll add a feature to automatically detect the paths to your followers_1.json
and following.json
files, so you won’t have to manually update the variables.