I'm trying to make a request to flickr with ultimate failure. Not sure what I'm doing wrong and hope someone can point me in the right direction. I looked up the documentation, the flickr documentation is not really beginner friendly. here's what I have so far:
<script type="text/javascript">
var key = 'myKeyhere';
$.ajax({
url: 'http://api.flickr.com/services/rest/?&method=flickr.people.getPublicPhotos&api_key='+myKeyhere+'&user_id=12345&format=jsonp',
jsonpCallback: 'jsonCallback',
contentType: "application/json",
dataType: 'jsonp',
sucess: function(data) {
console.log(data);
}
});
</script>