Jquery JSON Flickr API Returning Photos in a Set
问题 I am trying to get a specified set from Flickr and then display the images in that set using the JSON and REST API. Here is the code I am using: $.getJSON("http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=xxx&set=72157623858739780&format=json&jsoncallback=?", function(data){ $.each(data.items, function(i,item){ $("<img/>").attr("src", item.media.m).appendTo("#images"); }); }); I removed the api key from the example. The url with my key in it, when typed into my