Posted on 02/05/2017 12:52:34
Hi Nicolai,
Since that article was written Instagram has changed their API so it requires an accesstoken to be supplied in the "Get" URL or what it's called. This accesstoken shouldn't be exposed in a javascript implementation which is why I would like it to be "hidden" on the server and render the json data to the template...
https://api.instagram.com/v1/users/@userid/media/recent/?access_token=@accesstoken&count=9
(see https://www.instagram.com/developer/endpoints/users/ )
I've tried to use HttpClient and different stuff, but can't see my way to the final result... Earlier on Sten Hougaard helped me with something similar, where we used the old "Indholdsintegration" module to get stuff from Vimeo, but I can't figure out how to change it to work with instagram...