boehmatron boehmatron - 7 months ago 19
HTML Question

Display Instragram pictures with http://instafeedjs.com/

I try to get my latest imagefrom my Instagramm Feed using http://instafeedjs.com/
I get the plugin working as I can see in the console that my images get fetched, BUT they don't get displayed somehow.
My code is following


<script type="text/javascript">
var userFeed = new Instafeed({
get: 'user',
userId: '12345',
accessToken: '123456'
});
userFeed.run();





Any clues what I overlooked to make the script display the latest image from my feed? Or an any image at all?

Answer

Do you have the <div id="instafeed"></div> placed in your html somewhere? If not, add it!