I've spent the past week trying to create a simple Instagram preview application that should show a user's public data such as username, followers, following, and profile picture URL, but unfortunately, I haven't been able to find a solution.
I've experimented with numerous npm packages, but they are outdated and none of them work properly due to Instagram's ever-changing API and policies.
In my attempts, I've also explored using Instagram's official Basic Display API and Graph API, but I couldn't find any methods to access a user's public profile information like username, followers, following, or profile picture URL.
There are plenty of Instagram downloaders online that seem to accomplish this task, so it must be possible in today's world, but I'm struggling to figure out how.
If anyone can share a way to achieve this in 2023 without violating Instagram's terms and policies, I would greatly appreciate it.
Thank you in advance.