Skip to content

Instantly share code, notes, and snippets.

@logonoff
Created January 22, 2023 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save logonoff/5fcdefbfaa0f92cc07298e9c6271375e to your computer and use it in GitHub Desktop.
Save logonoff/5fcdefbfaa0f92cc07298e9c6271375e to your computer and use it in GitHub Desktop.
check who is not following you back on instagram

step 1. download your data
step 2. download this script to <data export dir>/followers_and_following/compare.js
step 3. cd <data export dir>/followers_and_following/ && node "./compare.js"
step 4. find out who betrayed u

var rawFollowers = require("./followers.json");
var rawFollowing = require("./following.json");
const followers = rawFollowers["relationships_followers"].map( e => e["string_list_data"][0]["value"] );
const following = rawFollowing["relationships_following"].map( e => e["string_list_data"][0]["value"] );
const notFollowingBack = following.filter( e => !followers.includes(e) );
console.log(notFollowingBack);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment