google-photos-api-python-quickstart icon indicating copy to clipboard operation
google-photos-api-python-quickstart copied to clipboard

Scope photoslibrary.readonly will be removed from the Library API after March 31, 2025 - Google Photos Picker API should be used instead.

Open WilfriedBl opened this issue 1 year ago • 4 comments

According to the announcement of Google Posted September 2024, the scope photoslibrary.readonly will be removed from the Library API after March 31, 2025. Google says: "If your app needs users to select photos or albums from their entire library, use the new Google Photos Picker API." So, if I understood correctly, after March 2025, google-photos-api-python-quickstart won't work anymore. Did anybody successfully implement it yet using the Google Photos Picker API? Thanks Wilfried

WilfriedBl avatar Sep 21 '24 11:09 WilfriedBl

Hi @WilfriedBl, I saw the announcement - I'm not sure yet how to use the new APIs. I'll update as soon as I'll be able.

ido-ran avatar Sep 22 '24 20:09 ido-ran

Thanks for the quick response @ido-ran . I tried a quick and dirty way to call the picker API but with no success so far and getting a "googleapiclient.errors.HttpError: <HttpError 403 when requesting https://photospicker.googleapis.com/v1/sessions?alt=json returned "Request had insufficient authentication scopes." Crossing my fingers.

WilfriedBl avatar Sep 22 '24 20:09 WilfriedBl

I've created https://github.com/ido-ran/google-photos-picker-api-quickstart with example of using Picker API

ido-ran avatar Sep 28 '24 21:09 ido-ran

Thanks a lot for you work and notification, @ido-ran . I will see, if I get it to work.

WilfriedBl avatar Sep 29 '24 05:09 WilfriedBl