Searching multiple licenses
Closed this issue · 3 comments
johnroa commented
Flickr documentation says you can comma separate licenses in a photo search and it will search by all of them, however :license => '1,2,3,4' in flickraw isn't working. Any ideas? Thanks in advance!
hanklords commented
This seems to be a question to ask on flickr forums. Have you tried with another library and get different results ?
johnroa commented
Well, I thought it might be how the parameters to sent to Flickr via flickraw. It only searches the first license in the comma separated list. There are a few blog posts for other libraries that show it working with comma separated.
hanklords commented
I tried
flickr.photos.search(:license => "1,2,3,4", :extras => "license").map(&:license).uniq
And I get :
=> ["3", "2", "4", "1"]
so I guess it is working ?