A simple jQuery plugin to show a list of Instagram photos.
Import the script
<script src="jquery.instagram.js"></script>
Insert an empty div
in the code
<div class="instagram"></div>
Run the plugin
$(document).ready(function() {
$(".instagram").instagram({
hash: 'hfarm',
clientId: 'your-client-id-here'
});
});
Search recent photos tagged with hash
.
Type: String
Default: null
OAuth 2 access token (see: http://instagram.com/developer/auth/).
Type: String
Default: null
OAuth 2 client application id.
Type: String
Default: null
Number of photos to show.
Type: Number
Default: null
Called just before making the request to instagram API.
Type: Function
Default: null
Called after the response from instagram API.
Type: Function
Default: null
Thanks to @dpvitt for the initial implementation.