I have found literally hundreds of ways to embed instagram gallery in a website, but what I need is to embed the whole profile, t.i. if you look at this profile for example: https://www.instagram.com/exampleprofile/ there's a profile image, about, title and a follow button.
How can I embed the profile with this header information as well not only the images in its gallery? Is it even possible?
You can do this using the new Facebook Graph API: https://developers.facebook.com/docs/instagram-basic-display-api/reference/media
You'll need a developer account with an Application and Instagram "Basic Display" permissions. From there, much of Omar Alahmed's answer is still applicable, including authorization via OAuth at https://api.instagram.com (this part of the API was not deprecated).
The right way to do this is to use the API. You can get user information with this endpoint:
https://www.instagram.com/developer/endpoints/users/#get_users
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With