the scope photoslibrary.readonly
、photoslibrary
has been deprecated and will be removed after March 31, 2025.
After this date, any API calls using only this scope will return a 403 PERMISSION_DENIED error.
What should you do?
For reading photos, use the https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata scope.
For other use cases, review the latest Google Photos API documentation for supported scopes and migration instructions.
Reference:
https://developers.google.com/photos/support/updates#affected-scopes-methods