I'd like to write a really simple website, one that allows ANY Instagram users, big or small, business or personal, to come to my website, login using their instagram credentials (oauth) and then see the last 5 posts on their feed. I've already done this using the instagram API, but all the documentation says that the API is being deprecated, so I'm looking at moving to the new Graph API. The problem is I'm finding it incredibly confusing.
First of all it seems that the new Graph Api is only for medium or large business accounts. Not for someone with a personal account of a few hundred followers. Is that the case? If it is the case do I need to implement both API's in my app to cater for both large business accounts and small accounts?
If it's not I'm simply looking for an example, using NodeJs or Ruby, of how to complete the oauth flow using the Graph API and then using the access token from the auth flow, hit an endpoint to get that users media.
I already have an app registered on the graph api, I have an app id, secret and have instagram_basic privileges.
Any advice would be very much appreciated,
Thank you,
Craig