Flickr api: how to get relevant image results?

I get some inappropriate and low (subjective) image quality from flickr api. I notice that sites like haiku deck use the flickr api and they get relevant results.

desired flickr search result

I am using flickrnet api. Below is the code I'm using, as well as the results when query = 'cow'

  Flickr flickr = new Flickr(flickrKey, flickrSecret); PhotoSearchOptions options = new PhotoSearchOptions(); options.SafeSearch = SafetyLevel.Safe; options.Licenses.Add(LicenseType.AttributionCC); options.MediaType = MediaType.Photos; options.Text = query; options.Extras = PhotoSearchExtras.AllUrls; PhotoCollection photos = flickr.PhotosSearch(options); 

actual results

+5
source share
1 answer

the solution is to set the sorting according to relevance. default - by date

  options.SortOrder = PhotoSearchSortOrder.Relevance; 
+4
source

All Articles