flickr-set-get icon indicating copy to clipboard operation
flickr-set-get copied to clipboard

error message

Open arnauldb opened this issue 7 years ago • 4 comments

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,

arnauldb avatar Sep 14 '16 20:09 arnauldb

I was able to download your pictures from the set (the public ones) with the following command:

flickr-set-get get 72157624752126886 37482335@N00
screen shot 2016-09-14 at 23 39 55

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.

lmammino avatar Sep 14 '16 22:09 lmammino

Hello lmammino,

thank you for your quick support and your work.

Best,

Arnauld

arnauldb avatar Sep 15 '16 14:09 arnauldb

Thanks for using this software @arnauldb

Best

lmammino avatar Sep 15 '16 19:09 lmammino

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?

mirfilip avatar Apr 23 '18 09:04 mirfilip