Social data

Calculate who does not follow you back from two lists

To find accounts you follow that do not follow you back, subtract the followers list from the following list. Keep the direction explicit: following minus followers is the relevant comparison.

Worked example

Node.js example · save as example.mjs and run node example.mjs

const followers = new Set(["river", "sage"]);
const following = new Set(["river", "quinn"]);
const notFollowingBack = [...following].filter(name => !followers.has(name));
console.log(JSON.stringify(notFollowingBack));

How it works

Following contains accounts you chose to follow. Followers contains accounts recorded as following you. Quinn appears only in the first set, so it belongs in this report. The site’s checker performs this comparison using usernames extracted from the supplied JSON files.

Limits and mistakes

The result reflects the provided files, not a live Instagram query. Missing export parts or mismatched snapshots can create misleading differences. A nonmutual relationship does not establish that someone recently unfollowed you or explain their intent.

Check the result

Expect ["quinn"]. Use a tiny synthetic pair of files before importing a real export, and confirm the follower files go on the follower side of the checker.

Sources

Reference documentation for the behavior used in this guide: