CMS Development

Jsum
Key Advisor

Custom Instagram Feed

SOLVE

Does anyone know of a way to feed images from an instagram account to a webpage? 

 

I have a client with a 4x3 grid of instagram images in a design and I am actually stumped. There is the instagram api but it would require a proxy and also it looks like they are slowly removing it from existance: https://www.instagram.com/developer/

 

Other than that I can't find anything except embed codes for individual posts. I can't believe that this isn't possible. what am I missing?

0 Upvotes
1 Accepted solution
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Custom Instagram Feed

SOLVE

@Jsum - The media endpoint still appears to be working for instafeed - https://codepen.io/matthewelsom/pen/zrrrLN

View solution in original post

4 Replies 4
hermanschutte
Member

Custom Instagram Feed

SOLVE

Hi Jsum,

 

The Instagram API has definitely become a lot more restricted than it was a couple of years ago. Would a pre-built solution not work for you? Just embedding an Instagram Widget on the client's website to display the photos in a grid?

 

Disclaimer: I built an app that does Instagram feed embedding, so would love to recommend it. But can also give you some pointers in working with the API if you need.

0 Upvotes
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Custom Instagram Feed

SOLVE

@Jsum - The media endpoint still appears to be working for instafeed - https://codepen.io/matthewelsom/pen/zrrrLN

Jsum
Key Advisor

Custom Instagram Feed

SOLVE

@tjoyce,

 

I'm waiting for the client to accept the invite to my app so I can try it but it looks like it's going to work. You really have to jump through hoops to find the UserId, ClientId, and accessToken.

 

I used the answers here to get the UserId: https://stackoverflow.com/questions/37593025/instagram-api-get-the-userid

 

and the 'Client-Side (Implicit) Authorization' section here to get the Access token: https://www.instagram.com/developer/authentication/  You have to go to permissions to allow implicit Auth. 

 

and the UserId is in the settings for the client that you have to create. 

 

The app can only run in sandbox mode until approved by instagram.

 

Also I guess any accounts who's images you want to access need to be added as users to the app and they have to accept the invite before you can access their stuff. 

 

It seams like a lot of effort for some pictures but what the heck. At least the code you shared works.

0 Upvotes
tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Custom Instagram Feed

SOLVE

Ugh, that sounds painful, I haven't used instafeed since about 2014/2015, I bet a lot has changed since then.

0 Upvotes