This Chrome extension helps you automatically unfollow Instagram users who don't follow you back. It scrapes your following list and unfollows users based on specific conditions, with added human-like delays to avoid getting banned by Instagram.
- Scrapes your Instagram following list and stores it in a MongoDB database.
- Unfollows users who are not following you back.
- Rate limiting and delay mechanisms to mimic human activity.
- API for user info storage and configuration to avoid infinite loops.
- Chrome Extension API for interacting with Instagram's UI.
- Node.js for running the backend API.
- MongoDB for storing following data.
- JavaScript for logic implementation.
- Node.js and npm installed on your machine.
- MongoDB instance to store scraped data.
- Chrome browser to install and use the extension.
-
Clone the repository:
git clone https://github.com/MarsToPluto/IG-Unfollow.git
-
Navigate to the API folder and start the API server:
cd IG-Unfollow/API npm install npm start
-
Open Chrome and go to the extensions page (
chrome://extensions/
). -
Enable Developer mode.
-
Click on Load unpacked and select the
IG-Unfollow
folder to load the extension. -
Go to your Instagram profile page, then load the extension. Once the page is refreshed, the scraping process will start.
- Open your Instagram profile page.
- Start the extension and refresh the page.
- The extension will scrape your following list and store the data in your MongoDB database.
- After scraping, comment out the
getFollowingList()
function incontent.js
. - Uncomment the
main()
function incontent.js
. - Refresh the extension by reloading it in the Chrome extensions page.
- The extension will now start unfollowing users who don't follow you back. You can track the stats in your MongoDB following collection.
- Start the API: Ensure the API server is running from the
/API
folder to store scraped data. - Change username: Update the line
const myUsername = "YourUsername";
in the script to your actual Instagram username.
- Add a UI for easier configuration to switch between scraping and unfollowing modes without editing
content.js
. - Add rate limiting and further delays to prevent getting blocked by Instagram.
- This extension is for educational purposes only. Use at your own risk to avoid violating Instagram’s terms of service.