Skip to content

Instantly share code, notes, and snippets.

@pushmatrix
Created May 17, 2013 09:28
Show Gist options
  • Save pushmatrix/5598003 to your computer and use it in GitHub Desktop.
Save pushmatrix/5598003 to your computer and use it in GitHub Desktop.
This is the solution for the assignment.
$(document).ready(function() {
$("#search").click(function() {
$.getJSON('https://api.instagram.com/v1/tags/snow/media/recent?callback=?&access_token=198349558.f59def8.84479f9173f144df8374d6f0edefaf5d',function(data){
$.each(data.data, function(i, post) {
$('body').append('<img src="' + post.images.standard_resolution.url + '"/>');
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment