
Checks mutual followers between ig accounts (local hosted, use your own session id)
A Node.js/Express web application that checks for mutual followers between 2 or more Instagram accounts by scraping their followers data.
Clone project:
git clone https://github.com/OscarFromNZ/InstagramMutualFollowerChecker
Navigate into project:
cd InstagramMutualFollowerChecker/
Install dependencies:
npm install
Create a .env file in the root directory: (just make a file named .env)
SECRET=12983y98efhisodufgsdukyfagousdyfgaosdfyaogsdgyf
PORT=3000
INSTAGRAM_SESSION_ID=go_to_your_cookies_to_find_it_or_google_it
Start the server:
npm start
Or run directly:
node index.js
Open your browser and navigate to:
http://localhost:3000
Enter at least 2 Instagram usernames (large accounts will take forever, max you should do is like 10k)
Click "Find Mutual Followers" to get results
├── index.js # Entry point
├── Website.js # Express app setup
├── package.json # Dependencies
├── routes/
│ ├── homeRoutes.js # Home page route
│ └── apiRoutes.js # API endpoints
├── services/
│ └── instagramService.js # Instagram scraping logic
├── public/
│ └── styles.css # Frontend styling
└── views/
└── index.ejs # HTML template
Get mutual followers between multiple Instagram accounts.
Request:
{
"usernames": ["username1", "username2", "username3"]
}
Response:
{
"success": true,
"usernames": ["username1", "username2"],
"mutualFollowers": [
{
"username": "follower_username",
"id": "user_id",
"full_name": "Follower Name",
"profile_pic_url": "https://..."
}
],
"count": 5
}
Get profile information for a specific account.
Response:
{
"success": true,
"profile": {
"username": "username",
"full_name": "Full Name",
"biography": "Bio text",
"followers_count": 1000,
"following_count": 500,
"is_private": false,
"is_verified": true,
"profile_pic_url": "https://...",
"posts_count": 100
}
}
Public Accounts & Private Accounts you Follow: Only works with public Instagram accounts & private accounts you follow.
Large Follower Lists: Fetching very large follower lists (10k+) may take significant time and memory.
ISC
Note: This app scrapes Instagram data. Always respect Instagram's Terms of Service and use responsibly.