Skip to content Skip to sidebar Skip to footer

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: '<a target="_blank" href="{{link}}"><img src="{{image}}" /><div class="instagram-post-stats"><div class="likes">{{likes}}</div><div class="comments">{{comments}}</div></div><i class="fa fa-instagram"></i></a>',
                resolution: 'standard_resolution',
                sortBy: 'most-recent',
            });
        }
            feed.run();
        });
    }
        feed.run();

Post a Comment for "Instafeed JS Not Loading"