gitmoo-goog icon indicating copy to clipboard operation
gitmoo-goog copied to clipboard

-albumid switch not working for me

Open hanshuebner opened this issue 4 years ago • 1 comments

Thank you for this great tool!

I've been unable to get the -albumid switch to work, though. For all album IDs I specify, I get the message

2020/01/23 17:35:20 googleapi: Error 400: Invalid album ID., badRequest

I've tried using the ID component (https://photos.google.com/album/<id>) from a non-shared as well as from a shared album. Is there another ID that needs to be used? How can it be found?

Thanks again for making this available!

hanshuebner avatar Jan 23 '20 16:01 hanshuebner

@hanshuebner I tried this out and noticed the same thing. Any ID provided by the web interface is not usable. Instead, the only Album ID that is usable for this purpose that I could find was by using Try this API portion of this page https://developers.google.com/photos/library/reference/rest/v1/albums/list

Maybe a simple sub-command could be added to list out all albums and their associated Album ID to help with this.

carsonreinke avatar Jun 25 '20 02:06 carsonreinke