This script fetches and analyzes friendship data (followers and following) from Instagram using its API. It identifies users who:
- You don't follow back.
- Don't follow you back.
- Instagram Account: The script requires you to log into Instagram.
- Browser Console Access: The script runs in the browser's developer console.
- Supported Browser: Use the latest version of Chrome or Firefox for compatibility.
- Automated API Calls: Recursively fetches all followers and following lists using Instagram's API.
- Rate-Limiting Compliance: Includes random delays to avoid hitting Instagram's rate limits.
- Insightful Analysis: Outputs lists of:
- People who don't follow you back.
- People you don't follow back.
- Log in to Instagram in your browser.
- Open the browser's Developer Tools (usually by pressing
F12
orCtrl+Shift+I
). - Navigate to the Console tab.
- Copy and paste the script into the console.
- Replace the placeholder username (
"example_username"
) with your Instagram username:username = "your_instagram_username";