Social data
Compare older and newer follower snapshots
Subtract a newer follower set from an older follower set to find usernames missing from the newer snapshot. Label the output as snapshot differences and keep the original exports for verification.
Worked example
Node.js example · save as example.mjs and run node example.mjs
const older = new Set(["river", "sage", "taylor"]);
const newer = new Set(["river", "taylor", "quinn"]);
console.log("Missing later:", [...older].filter(name => !newer.has(name)).join(","));
console.log("New later:", [...newer].filter(name => !older.has(name)).join(","));How it works
This compares the same relationship type across time, unlike comparing following against followers within one snapshot. Sage is missing later and quinn is new later. Store the export dates with the report so its boundary is clear.
Limits and mistakes
Username changes and incomplete export parts can look like removals and additions. The site’s current checker compares followers against following; this separate recipe demonstrates historical set comparison rather than an existing two-snapshot checker feature.
Check the result
Expect Missing later: sage and New later: quinn. Test identical snapshots and verify both differences are empty before interpreting a real pair.
Sources
Reference documentation for the behavior used in this guide: