flickr-set-get
flickr-set-get copied to clipboard
error message
Hello,
thank you for flickr-set-get.
I have an error message when trying to download this flickr https://www.flickr.com/photos/n_ipper/sets/72157624752126886
ERROR: Error: Error with flickr API: User not found (https://api.flickr.com/services/rest?photoset_id=72157624752126886&user_id=n_ipper&page=1&nojsoncallback=1&format=json&method=flickr.photosets.getPhotos&auth_token=xxx70583920373-f3f6942b1199b347&api_key=xxxxx354998d776fbaac7d87c55c0203&api_sig=xxxxa349854d47089c92364d05eba) arnauld@arnauld-Alienware-18:~$ flickr-set-get get--authenticated 72157624752126886 n_ipper
thank you for any help,
I was able to download your pictures from the set (the public ones) with the following command:
flickr-set-get get 72157624752126886 37482335@N00
It seems (for reasons to me unknown yet) that flickr is hiding your user id, replacing it with your nickname in the URL. Your user id seems to be 37482335@N00
, so use that for now.
I will keep this issue open because I believe the command might be updated in order to distinguish between ids and nicknames and work correctly in both cases.
Hello lmammino,
thank you for your quick support and your work.
Best,
Arnauld
Thanks for using this software @arnauldb
Best
I just came across the same issue. I want to download the album: https://www.flickr.com/photos/lukaszlukasz/albums/72157694833827364, where lukaszlukasz
seems to be an alias of some sort, I'm not familiar with Flickr API internals.
Anyhow, I was able to manually ask for user id: https://api.flickr.com/services/rest?page=1&nojsoncallback=1&format=json&api_key=<default_api_key_here>&method=flickr.urls.lookupUser&url=https://www.flickr.com/photos/lukaszlukasz/ and get the id. Then, it works.
Wouldn't it be a good idea to fallback to that endpoint to programmatically resolve user nickname to user id instead of throwing an error from Flickr API?