Instagram

Instagram Feed - List


<div id="instafeed1" class="instagram-feed" data-userid="3450544574" data-accesstoken="3450544574.1677ed0.7d0725a565914415b40a4953c17bcdc9" data-limit="12" data-resolution="low_resolution"></div>


$('.instagram-feed').each(function() {
    var current_div = $(this);
    var instagramFeed = new Instafeed({
        target: current_div.attr('id'),
        get: 'user',
        userId: current_div.data('userid'),
        accessToken: current_div.data('accesstoken'),
        resolution: 'low_resolution',
        limit: 9,
        template: '
', after: function() { } }); instagramFeed.run(); });

Instagram Feed - Carousel


<div id="instafeed2" class="instagram-feed-carousel" data-userid="3450544574" data-accesstoken="3450544574.1677ed0.7d0725a565914415b40a4953c17bcdc9" data-limit="12" data-resolution="low_resolution"></div>


$('.instagram-feed-carousel').each(function() {
    var current_div = $(this);
    var instagramFeed = new Instafeed({
        target: current_div.attr('id'),
        get: 'user',
        userId: current_div.data('userid'),
        accessToken: current_div.data('accesstoken'),
        resolution: 'low_resolution',
        limit: 9,
        template: '
', after: function() { current_div.owlCarousel({ rtl: THEMEMASCOT.isRTL.check(), autoplay: false, autoplayTimeout: 4000, loop: true, margin: 15, dots: true, nav: false, responsive: { 0: { items: 2 }, 768: { items: 4 }, 1000: { items: 5 } } }); } }); instagramFeed.run(); });