javascript - Can't get instafeed to work at all -


for whatever reason, instafeed (http://instafeedjs.com/) isn't displaying anything. i'm using localhost if makes difference.

my markup follows:

<div class="photo-container"> <div id="instafeed"></div> </div> 

i've set height of photo-container in css.

here js:

<script type="text/javascript">         var userfeed = new instafeed({           clientid: '33a######################76569e',           get: 'user',           userid: 22####892,           accesstoken: '2######92.46######.108#######403e8088#####05',           limit: 9,           usehttp: true,           target: 'instafeed',           template: '<a href="{{link}}" target="_blank"><img src="{{image}}" /><div class="likes">&hearts; {{likes}}</div></a>'           });           userfeed.run();     </script> 

i have following line above script:

<script src="js/instafeed.min.js"></script> 

i can't seem find issue here? strange thing works in jsfiddle not on localhost. has empty space photo-container is. i've uploaded online , doesn't work there either.


Comments

Popular posts from this blog

javascript - Wordpress slider, not displayed 100% width -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -