Note that there are some explanatory texts on larger screens.

plurals
  1. POPhoto search using popular tag with Flickr API sometimes returns empty results
    text
    copied!<p>Every now and then I call the Flickr API to do a photo search using tags, and it returns 0 results for some tags while returning plenty of results for others. All the tags are major popular tags so the chances of there actually being no results is nil.</p> <p>For example, right now, when I try a search for "actor" (&amp;tags=actor) I get no results. But if I try a search for "war" (&amp;tags=war) I get the usual long list of results. When this situation pops up, it stays in place sometimes for hours and then just magically clears up.</p> <p>Has anybody else seen this syndrome via the Flickr API? If so, did you come up with a way to clean it up?</p> <p>Here are the two REST queries I am using. I'm showing the empty response for "actor", but left out the full response for "war" for brevity purposes.</p> <blockquote> <p><a href="http://flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=...hidden...&amp;user_id=&amp;tags=actor&amp;tag_mode=&amp;text=&amp;min_upload_date=&amp;max_upload_date=&amp;min_taken_date=&amp;max_taken_date=&amp;license=&amp;extras=&amp;per_page=&amp;page=&amp;sort=" rel="nofollow">http://flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=...hidden...&amp;user_id=&amp;tags=actor&amp;tag_mode=&amp;text=&amp;min_upload_date=&amp;max_upload_date=&amp;min_taken_date=&amp;max_taken_date=&amp;license=&amp;extras=&amp;per_page=&amp;page=&amp;sort=</a></p> </blockquote> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;rsp stat="ok"&gt;&lt;photos page="1" pages="0" perpage="100" total="0" /&gt;&lt;/rsp&gt; </code></pre> <blockquote> <p><a href="http://flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=...hidden...&amp;user_id=&amp;tags=war&amp;tag_mode=&amp;text=&amp;min_upload_date=&amp;max_upload_date=&amp;min_taken_date=&amp;max_taken_date=&amp;license=&amp;extras=&amp;per_page=&amp;page=&amp;sort=" rel="nofollow">http://flickr.com/services/rest/?method=flickr.photos.search&amp;api_key=...hidden...&amp;user_id=&amp;tags=war&amp;tag_mode=&amp;text=&amp;min_upload_date=&amp;max_upload_date=&amp;min_taken_date=&amp;max_taken_date=&amp;license=&amp;extras=&amp;per_page=&amp;page=&amp;sort=</a></p> </blockquote> <p>{full list of photos returned}</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload