Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@thishanr
Created November 20, 2020 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thishanr/c18dbc086461be013f3f191e7140cd8d to your computer and use it in GitHub Desktop.
Save thishanr/c18dbc086461be013f3f191e7140cd8d to your computer and use it in GitHub Desktop.
Instagram Feed Embed
<br>
<div class="container">
<div id="instagram-feed-demo" class="instagram_feed"></div>
</div>
<script src="https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/jquery.instagramFeed.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script>
(function($){
$(window).on('load', function(){
$.instagramFeed({
'username': 'callofduty',
'container': "#instagram-feed-demo",
'display_profile': true,
'display_biography': true,
'display_gallery': true,
'get_raw_json': false,
'callback': null,
'styling': true,
'items': 36,
'items_per_row': 6,
'margin': 0.3
});
});
})(jQuery);
</script>
<br></br>
<script src="https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/jquery.instagramFeed.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment