Instafeed Js Not Loading
I'm trying to test out instafeed.js and I can't get it to load on a simple bootstrap page Everything on my page loads, including this container, but it's empty with no hint of Inst
Solution 1:
you need to include your access token as well Get your access token from here : http://instagramwordpress.rafsegat.com/docs/get-access-token/
Here is my sample,
if ($instafeed.length) {
var feed = new Instafeed({
get: 'user',
limit: 8,
userId: userId,
accessToken: accessToken,
template: '<atarget="_blank"href="{{link}}"><imgsrc="{{image}}" /><divclass="instagram-post-stats"><divclass="likes">{{likes}}</div><divclass="comments">{{comments}}</div></div><iclass="fa fa-instagram"></i></a>',
resolution: 'standard_resolution',
sortBy: 'most-recent',
});
}
feed.run();
});
}
feed.run();
Post a Comment for "Instafeed Js Not Loading"