Instagram Feed Without the API

Mick in Tutorials on Nov 29, 2019

"Instagram Feed Without the API"
Share your latest Instagram pics on your website without using the access token with this responsive and customizable Instagram Photo Gallery plugin.




Let's create an HTML block (preferably a bottom block) and add this:

<div id="instagram-feed" class="instagram_feed"></div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jobdiogenes/jquery.instagramFeed[member=905]master[/member]/jquery.instagramFeed.min.js"></script>
<script>
    (function($){
        $(window).on("load", function(){
            $.instagramFeed({
                "username": "instagram",
                "container": "#instagram-feed",
                "display_profile": true,
                "display_biography": true,
                "display_gallery": true,
                "callback": null,
                "styling": true,
                "items": 8,
               "items_per_row": 4,
                "margin": 1
            });
        });
    })(jQuery);
</script>

Replace "Instagram" with user name.

                "username": "instagram",

To display the profile or not, simple use true or false.

                "display_profile": true,

To display the biography or not, use true or false.

                "display_biography": true,

The total of images, change to whatever number you desire.

                "items": 8,

Items per row, change accordingly.

               "items_per_row": 4,

Reference:
GitHub - jsanahuja/jquery.instagramFeed: Instagram Feed without access token. Not using the Instagram API






Tagged with: smf js instagram feed 


Mick

Mick G

  idesignsmf.com

    

Mick is an American theme designer for Simple Machines Forum software currently living in South Florida, USA. He runs idesignSMF and started tinkering with SMF in 2006 where he created several SMF forums of his own before he founded idesignSMF in 2009 to which he is dedicated full time and has a weakness for Pizza.

  Connect with us:

     

  Improve SMF

If you wish to contribute to the development of SMF you can contribute to the coding discussions taking place on Github. You are also welcome to suggest features which you would like to see added to the software in the Feature Requests board.

  Receive our monthly newsletter right in your inbox.
Commitment issues? Unsubscribe at any time.

Get 100% complete access to our entire collection and find out why 11,202 SMF owners prefer our themes



2 Comments

That's awesome man! Always doing a good job!
1

@Karl Bullock Thank you!!!! ;)
2







  Contribute to the development of SMF. Follow the coding discussions taking place on >> Github