The easiest way to check who hasn't followed you back on Instagram

Overview

Instagram Unfollowers

The easiest way to check who hasn't followed you back on Instagram is to do it manually, keeping track of the exact number of followers. If you notice your followers count goes down, you can investigate the "Following" lists of those specific users to verify whether or not they're still following you.

This is obviously very time-consuming and impractical work — especially when you have a lot of followers who fluctuate regularly. From now you can use this script to check who hasn't followed you back!

Usage

  1. Sign in to your Instagram account on your browser.
  2. Open browser's console / devtools by pressing F12 on your keyboard.
  3. Copy this script:
class Output { constructor() { this.styles = ` padding: 0.5rem 0; font-size: 1rem; font-weight: 700; `; } handleProgressOutput(total, currentPage) { console.clear(); console.log(`%cProgress ${currentPage}/${total} (${parseInt(currentPage / total * 100)}%)`, this.styles); } async handleRateLimitOutput(count) { if (!count || count % 5 !== 0) return; console.clear(); console.warn("%cRATE LIMIT - Waiting 10 seconds before requesting again...", this.styles); await sleep(10000); } handleProcessFinishOutput(unfollowers, length) { console.clear(); if (!length) return console.log(`%cPROCESS FINISHED - Everyone followed you back! 😄`, this.styles); console.group(`%cPROCESS FINISHED - ${length} ${length === 1 ? "user" : "users"} didn't follow you back. 🤬`, this.styles); unfollowers.forEach(unfollower => console.log(`${unfollower.username} ${unfollower.isVerified ? "☑️" : ""}`)); console.groupEnd(); } } class Script extends Output { constructor(checkVerifiedUsers) { super(); this.checkVerifiedUsers = checkVerifiedUsers; this.unfollowers = []; this.canQuery = false; this.nextPageHash = ""; this.requestsCount = 0; this.followingCount = { total: 0, currentPage: 0 }; } getCookie(cookieName) { return new Promise((resolve, reject) => { const cookies = document.cookie.split(";"); for (const cookie of cookies) { const pair = cookie.split("="); if (pair[0].trim() === cookieName) resolve(decodeURIComponent(pair[1])); } reject(""); }); } createURLParamsString(params) { return Object.keys(params).map(key => { const value = params[key]; if (typeof value === "object") return `${key}=${JSON.stringify(value)}`; else return `${key}=${value}`; }).join("&"); } async generateURL() { const params = { query_hash: "3dec7e2c57367ef3da3d987d89f9dbc8", variables: { id: await this.getCookie("ds_user_id"), first: "50" } }; if (this.nextPageHash) params.variables.after = this.nextPageHash; return `https://www.instagram.com/graphql/query/?${this.createURLParamsString(params)}`; } async startScript() { try { do { await this.handleRateLimitOutput(this.requestsCount); const url = await this.generateURL(); const { data } = await fetch(url).then(res => res.json()); data.user.edge_follow.edges.forEach(edge => { if (checkVerifiedUsers && !edge.node.follows_viewer) this.unfollowers.push({ username: edge.node.username, isVerified: edge.node.is_verified }); else if (!checkVerifiedUsers && !edge.node.is_verified && !edge.node.follows_viewer) this.unfollowers.push({ username: edge.node.username }); }); this.canQuery = data.user.edge_follow.page_info.has_next_page; this.nextPageHash = data.user.edge_follow.page_info.end_cursor; this.requestsCount++; if (!this.followingCount.total) this.followingCount.total = data.user.edge_follow.count; this.followingCount.currentPage += data.user.edge_follow.edges.length; this.handleProgressOutput(this.followingCount.total, this.followingCount.currentPage); await sleep(2000); } while (this.canQuery); this.handleProcessFinishOutput(this.unfollowers, this.unfollowers.length); } catch (error) { return console.error(`Something went wrong!\n${error}`); } } } const sleep = ms => new Promise(resolve => setTimeout(resolve, ms)); const checkVerifiedUsers = confirm("Do you want to check the verified users as well?"); const script = new Script(checkVerifiedUsers); script.startScript();
  1. Paste the script on to the console and wait for the process to finish. (it may take some time, depending on how many users you're following)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement".

Don't forget to give the project a star! Thanks! 😄

License

Distributed under the MIT License. See LICENSE.txt for more information.

You might also like...

CoWIN Vaccination Tracker, Below is the PRODUCTION LINK this is updated at end of each day. To see any latest Updates, please check the documentation

CoWIN Vaccination Slots Checking App. CoWIN Vaccination Slots Checking App is a user-friendly website that allow users to find vaccine in nearby avail

Jan 28, 2022

Check Your Nearest Vaccination Center And Slots Availability using pincode and district name.

Check Your Nearest Vaccination Center And Slots Availability using pincode and district name.

Vaccine Tracker Application - Pan India 💉 Website • Playstore made with ♥ for the people of India DevIncept is an 30 day open source program helping

Nov 3, 2022

⛅ Check the current weather in any city on the planet.

⛅ Check the current weather in any city on the planet.

Weather App Check the current weather on any city on the planet. Switch between metric and imperial units. Features Search cities functionality Metric

Dec 22, 2022

Check if your location is actually hidden.

LocateJS Check it out here: https://z0ccc.github.io/LocateJS/. About LocateJS predicts your location by analyzing your connection and system data. Thi

Jan 9, 2023

This project is a Vegan recipe application. I created with React Native. Check out VeganRecipe now for recipe app

This project is a Vegan recipe application. I created with React Native. Check out VeganRecipe now for recipe app

VeganRecipe 🍆 🍄 🍠 🍅 Hello! This project is a Vegan recipe application. I created with React Native. Check out VeganRecipe now for recipe app. 🍆 ?

Mar 27, 2022

This simple and small react component can check your repository stars and change theme on light/dark

This simple and small react component can check your repository stars and change theme on light/dark

Repository metrics for react This beauty and easy (4KB) react component can help you add metrics to your repositories also you can change component th

Jun 25, 2022

Check EU Digitial Covid Certificates with ease and validate them against country and local rules.

Check EU Digitial Covid Certificates with ease and validate them against country and local rules.

Check EU Digitial Covid Certificates with ease and validate them against local or country rules. What is the purpose of CovidValidator? CovidValidator

Mar 14, 2022

A complete habits manager, where you can track your progress and complete each daily activity in an organized way.

TrackIt Habit manager in a dynamic, clear and simple way. TackIt is an application that seeks to make it simple and accessible for any user to control

Dec 31, 2022
Owner
Andrei Voicu
Andrei Voicu
Github-ci-cd-react - I followed CI/CD course from codedamn to learn how to implement github actions in a project, in this practical lesson with codedamn am using ReactJS

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Okechukwu Somtochukwu 1 Jan 2, 2022
İnstagram Clone.You can sign in, sign up, upload image, make comment 📷 Used ReactJS, Material UI, Firebase, Firestore Database

?? instagram-clone This is a instagram clone. You can sign in, sign up, upload image, make comment ?? ⚡ LIVE To check out the live demo of this app AB

null 22 Apr 20, 2022
This application allows you to create a list to keep tracks of the books you are reading and check the progress for each book.

Bookstore This is an application built to track the books you are reading and the progress you have made for each book! Additional description about t

Santiago Velosa 4 Feb 27, 2022
Build Instagram 2.0 with Next.js (Firebase v9, Tailwind CSS, NextAuth, Recoil) for the Education Purpose..

This example shows how to use Tailwind CSS (v3.0) with Next.js. It follows the steps outlined in the official Tailwind docs.

Parimal Nakrani 1 Dec 24, 2021
React sce instagram clone

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: ya

Patiphan Phengpao 1 Jan 5, 2022
A small tool to help you check package duplicates in `yarn.lock`

Yarn Duplicate A small tool to help you check duplicate package and package size in yarn.lock. Usage Change to your project root folder, which have a

Cam Song 14 Aug 11, 2021
Take back control of your email.

UNSUB Take back control of your email. Follow @_heyglassy for updates. This is a Next.js project bootstrapped with create-next-app. Tech Stack inspire

null 6 Jul 28, 2022
Take back your twitter feed, by instantly muting all engagement farmers.

Take back your Twitter feed Obliterate all ?? ?? 's from your feed with one-click, and go back to enjoying the content you actually care about. mute.g

Miguel Piedrafita 18 Oct 15, 2022
Find your duo - front/back/mobile

Sobre Este projeto é a trilha Ignite que engloba o projeto (backend, frontend e mobile) Find Your Duo . Aulas 01 - Configuração do ambiente 02 - Desen

Zenky 4 Sep 19, 2022
A Tracker to Check the availability of vaccine through pincode and buzzer in case of availability

Welcome to covid-vaccine-tracker ?? A Tracker to Check the availability of vaccine through pincode and buzzer in case of availability ?? Homepage Prer

Ayush Bansal 21 Jun 7, 2021