title: How do I get a specific users buddyicon using the Flickr API with JSON?
body: <p>I've read up on their buddyicon system for profile pictures that Flickr uses, and it's API. However they're not very clear about what API method returns it. See: <a href="https://www.flickr.com/services/api/misc.buddyicons.html" rel="nofollow noreferrer">https://www.flickr.com/services/api/misc.buddyicons.html</a></p>
  
  <p>It's extremely vague of documentation.</p>
  
  <p>I've been using methods like the below as a base for utilizing Flickr data in my app. </p>
  
  <pre><code>$.getJSON('https://api.flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=youdontneedthis&amp;user_id=youdontneedthiseither&amp;format=json&amp;nojsoncallback=1', function(data) {
  $.each(data.photos.photo, function(i,item){
      var src = "http://farm"+ item.farm +".static.flickr.com/"+ item.server +"/"+ item.id +"_"+ item.secret +"_m.jpg";
  </code></pre>
  
  <p>This is working well for me, but I'm not aware of a method to return the buddyicon??</p>
  
  <pre><code>http://farm{icon-farm}.staticflickr.com/{icon-server}/buddyicons/{nsid}.jpg
  </code></pre>
  
  <p>How does one determine this without a valid API method?</p>
  
  <p>Any kind of help would be greatly appreciated!</p>