Intelligence tool for Instagram

An analytics tool that builds a graph of relationships between Instagram accounts. It finds the shortest chain of acquaintances from you to any person, from celebrities and businesspeople to politicians, filters out bots and inactive profiles, and shows how many real, active followers an account actually has.

On top of the graph, the tool forecasts the reach of a celebrity's audience and describes its target audience, so brands and marketers can judge an influencer by real people rather than follower counts.

Smartym Pro built the data harvester, the graph analytics, the API with an admin interface and the native iOS and Android apps with custom animated UI.

Profile screen with chains and popular users

Project overview

  • Duration

    7 months: harvester 2, API and admin 1, mobile apps 2.5, QA and stabilisation 1.5

  • Methodology

    Agile

  • Project team

    • 2 backend developers
    • Android developer
    • iOS developer
  • Technologies

    Data

    • Graph database: Neo4j for the relationship graph, shortest paths and audience queries
    • DynamoDB in the first version, later replaced by Neo4j
    • Harvester service that collects public profiles and follow relationships

    Analytics

    • Bot and inactive-account filtering based on profile and activity signals
    • Active-audience estimation for large accounts
    • Reach and target-audience forecasting from the filtered graph

    Backend

    • REST API for the mobile apps and the admin interface
    • Hosting on AWS

    Mobile

    • Native iOS and Android apps with custom animated UI components

What the graph tells you

Every public account and every mutual follow becomes a node and an edge in one graph. The same graph answers several questions that the Instagram app itself cannot.

  • Chain of acquaintances

    The shortest route of mutual followers from the user to any person, found in about 30 seconds, that can be edited and rebuilt without selected participants.

  • Bot filtering

    Bots, online shops, mass-following and passive accounts are detected and excluded, so chains and statistics are built on real people only.

  • Real active audience

    For celebrities and other large accounts, the tool estimates how many followers are real and active, not just the follower count shown on the profile.

  • Reach and target audience forecast

    Based on the active audience and its connections, the tool forecasts the likely reach of a celebrity's post and describes who the audience is, which helps choose influencers for marketing campaigns.

Inside the app

  • Onboarding screen about six handshakes

    The idea in one screen

    Onboarding explains the theory: any two people on Earth are connected through about six handshakes.

  • Login with Instagram

    Sign in with Instagram

    Users log in with their Instagram account, so the app starts from their own network.

  • Creating a chain between two users

    Build a chain

    Pick any user and get the shortest route of mutual followers in about 30 seconds.

  • Chain participants with remove buttons

    Edit and share chains

    Remove people from a chain and it is rebuilt without them; save it as infographics and share it on Instagram.

Solution

The key feature, finding the shortest route between two Instagram users in about 30 seconds, was impossible with the official API: Instagram does not provide paths between users and limits the number of requests per unit of time. We built a separate harvester service that processes public profiles over the range of possible IDs and keeps the relationship graph on our side.

Chains and statistics are built from mutual follows, and Instagram has many bots and passive accounts. The harvester therefore checks every account and filters out bots, online shops and other non-personal or inactive profiles. The same filtering made it possible to estimate the real active audience of large accounts and to forecast reach and the target audience of a celebrity.

Such calculations need serious computing power and the right storage structure. The first version used DynamoDB, but its architecture did not fit graph queries, so after an analysis of alternatives we moved to the Neo4j graph database and solved the data migration between versions.

The UI is built from custom components and complex animations made from scratch, such as the hexagonal avatars with progress bars and the composition of the search screen.

Result

The client got a fast intelligence tool for Instagram that maps the relationship graph, builds a chain of acquaintances to any user, filters bots, estimates the real active audience of celebrities and forecasts their reach and target audience.

Users build, edit and browse chains, see chains they are part of, share results as infographics, follow the top 10 users and take part in contests.

Want to know more?

If you'd like more details on this project or a reference from the client, let us know.