The following request isn't retrieving a response when I look for it in Firebug. Any ideas why?

$function(){
	
	//json request to flickr
				
	$.getJSON('http://api.flickr.com/services/rest/?&method=flickr.photosets.getPhotos&api_key=71282ef5623d61a898f798c7916bed31&photoset_id=72157627882181032&format=json&jsoncallback=?'),
	
	});

bspace,

You could try the $.ajax() equivalent, which will give you the opportunity to set an "error" handler as well as a success handler.

var url = 'http://api.flickr.com/services/rest/?&method=flickr.photosets.getPhotos&api_key=71282ef5623d61a898f798c7916bed31&photoset_id=72157627882181032&format=json&jsoncallback=?';
$.ajax({
  url: url,
  dataType: 'json',
  data: data,
  success: function(data, textStatus, jqXHR){ alert([data, textStatus].join("\n")); },
  error: function(jqXHR, textStatus, errorThrown){ alert([textStatus, errorThrown].join("\n")); }
});

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.