All Projects → bachors → jQuery-my-instagram-gallery

bachors / jQuery-my-instagram-gallery

Licence: MIT license
Create your own instagram gallery on your website

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

jQuery-my-instagram-gallery

Create your own instagram gallery on your website

Usage:

CSS

<!-- My instagram gallery -->
<link type="text/css" rel="stylesheet" href="my-instagram-gallery.css" />
<!-- Fancybox -->
<link type="text/css" rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css"/>

JS

<!-- jQuery -->
<script src="https://github.com//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- My instagram gallery -->
<script src="my-instagram-gallery.js"></script>
<!-- Fancybox -->
<script src="https://github.com//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script>

Example Setting:

HTML

<div class="demo"></div>

jQuery

My Instagram Gallery:
$(document).ready(function(){
    $(".demo").myig(
        ins_id = 503807090, // your user_id
        ins_count = 10, // Count of media to return
        ins_token = '141970.467ede5.edbc9c37472d41b790e1db8948793f11' // your token
    );
});
Fancybox:
$(document).ready(function(){    
    $(".myig_popup").fancybox({
        openEffect : 'fade',
        closeEffect : 'fade'
    });
});

New instagram API 2016

Now access token is limited to 500 requests per hour.
You can get your acces token here: http://instagramwordpress.rafsegat.com/docs/get-access-token/ this works for me.

Find your instagram user_id ?

DEMO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].