Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed instagram profile?

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?

like image 826
Xeen Avatar asked Apr 08 '16 13:04

Xeen


2 Answers

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).

like image 66
jakeonfire Avatar answered Sep 20 '22 23:09

jakeonfire


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

like image 36
Tomahock Avatar answered Sep 18 '22 23:09

Tomahock