hermanho / MMM-GooglePhotos

Display your photos on MagicMirror from Google Photos.
MIT License
170 stars 65 forks source link

Sharing scope being deprecated by Google #194

Open chelming opened 2 months ago

chelming commented 2 months ago

https://github.com/hermanho/MMM-GooglePhotos/blob/843876a2470cb436221ca12aedf794a446778db5/google_auth.json#L4

We’re making two changes to the Google Photos APIs that will take effect March 31, 2025:

  1. Removal of scopes: The Google Photos Library API readonly, sharing, and search scopes will be removed, with photo picking and search uses cases now supported by a new Google Photos Picker API.
hermanho commented 2 months ago

It is a breaking change 🙁.

1) It have to be selected per photo instead of album. 2) Picker session is validated within 7 days. It is required to download all medias with the session Id to local machine. It is a big different compare with current logic that it can poll and refresh the new photos from the selected albums.

hermanho commented 2 months ago

Related issue tracker on Google: https://issuetracker.google.com/issues/368816420 https://issuetracker.google.com/issues/368779600