Inspiration
We wanted to make something fun which we could share with friends! We decided to do something with social media because we are chronic doomscrollers, so why not create something that would connect scrollers like us.
What it does
Using Instagram's built in export data function, it reads in user json files (likes, saved_posts, and watched_videos) to build out visualizations telling a story of the user's past week's reel activity. In addition we also built in a recommender system using Apify's reel scraper to recommend similar reels and profiles that the user might enjoy. At the very end we package all of the stats into a nice small share card, people can share with friends.
How we built it
Frontend Techstack: Next.js, TypeScript, CSS, Mantine (UI Library) | Backend Techstack: Pandas, Pyarrow, Scikit-learn
Challenges we ran into
We ran into challenges with the recommender system in terms of how to scrape data, and how to find similar posts. Despite that, after finding Apify offered scraping services we were able to elimate the problems with scraping ourselves and running into scraping limits and firewalls.
Accomplishments that we're proud of
We're really proud of the UI/UX, especially the very end share card which takes a photo of yourself. We're also really proud of implementing the recommender system using TF-IDF and ranking to suggest similar posts and profiles the user might be interested in.
What we learned
We learned how to build a ranking recommender system from scratch as well as how to use Apify to scrape reel data.
What's next for Insta Snapshot
We think Insta Snapshot has so many ways it can grow:
- Relative features such as "top watcher out of X% of users" that need other people's data.
- A farther look back (we were limited by Instagram only releasing 1 week of data).
- A more robust club and recommender system - we could not scrape audio nor images without running into firewall problems.