title: getJson with custom Flickr API call generates a parse-error
body: <p>I spent most of last night trying out the 'getJSON' method in JQuery against the Flickr API. I managed to have a look at some examples from the JQuery docs and managed to make them work, however attempts at reading JSON from my custom API calls failed miserably.</p>
  
  <p>Snippets:</p>
  
  <p>This works:</p>
  
  <pre><code>  //JQuery Flickr example code - works!
    $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?&amp;format=json",
    function(data) {
      $.each(data.items, function(i,item){
        alert(item.media.m);
        if ( i == 3 ) return false;
      });
    });
  </code></pre>
  
  <p><strong>This fails!</strong></p>
  
  <pre><code>  //Custom Flickr API Call - nothing?fail?
    $.getJSON("http://api.flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=c258d8ae4c29bb74da198c6ac3874671&amp;text=Mclaren&amp;per_page=3&amp;format=json&amp;callback=?&amp;nojsoncallback=1",
    function(data) {
  
      alert(data);
  
  
    }).error(function(jqXHR, textStatus, errorThrown) { alert(textStatus + errorThrown); });
  </code></pre>
  
  <p>The second API call is a valid resource, it works in the browser/fiddler and I can see the JSON content, but in my JS code an error is raised </p>
  
  <pre><code>"parsererrorError: jQuery18007627279118169099_1345796861535 was not called".
  </code></pre>
  
  <p>At this point I'm stuck, ultimately my end goal is to process the returned JSON and itterate over each 'photo' object in the nested array so that I can easily access their sub properties during iteration like so:</p>
  
  <p>[photo-instance].id</p>
  
  <p>[photo-instance].owner</p>
  
  <p>[photo-instance].secret
  etc...</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p><strong>Ref:</strong> <a href="http://www.flickr.com/services/api/response.json.html" rel="nofollow">http://www.flickr.com/services/api/response.json.html</a></p>
  
  <p><strong>Note</strong>: All API keys are for test purposes and will be destroyed soon.</p>