flickr photos from flickr_fu come back with a different id everytime

Posted by udit on Stack Overflow See other posts from Stack Overflow or by udit
Published on 2010-01-27T03:47:26Z Indexed on 2010/03/17 18:01 UTC
Read the original article Hit count: 398

Filed under:
|
|
@photos = flickr.photosets.get_list(:user_id => Flickr_Keys::USER_ID).find_all{|set| set.id== @gallery.flickr_id}[0].get_photos
@photos[0].id

"4016105430"

But everytime i run this piece of code in irb, i get a different id for each request. Whats up with that? Am I supposed to use the 'secret' property as a unique identifier ?

© Stack Overflow or respective owner

Related posts about flickr-api

Related posts about flickr