-
Notifications
You must be signed in to change notification settings - Fork 8
Compliance with Google Photos API changes, effective March 2025. #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Compliance with Google Photos API changes, effective March 2025. #26
Conversation
…ing Google Photos API changes, effective March 2025. Here are the key changes: - I updated the API scopes from 'photoslibrary' and 'photoslibrary.sharing' to 'photoslibrary.appendonly' and 'photoslibrary.readonly.appcreateddata'. This aligns with the new API model where apps primarily manage media they have created. - I verified that existing functionalities (album creation, media upload, listing app-created albums, retrieving app-created media URLs) are compatible with the new scopes and app-created data restrictions. - I added a note to the README.rst informing you of the API update and the potential need to re-authenticate. The plugin should now continue to function for its core purpose: uploading photos from pibooth to a Google Photos album created by the plugin. You will need to re-authorize the plugin on first use after this update to grant permissions for the new scopes.
bonjour j'ai une erreur qui me dis qu'il n'arrive pas a créer de repertoire dans google photo? votre mise a jour corrige bien ce probleme? comment fait le mis a jour? juste recuperer le .py et le lancer via un terminal? merci Hello, I have an error that tells me that it cannot create a directory in Google Photos? Does your update correct this problem? How do I do the update? Just retrieve the .py and launch it via a terminal? Thank you. |
@FrancoisPerez , can you help me? |
It's okay, I understand |
Hi, I have the same error, can you please tell me how update with the new script ? |
Hi, I reached to fix it. If someone needs help, here is how I've done :
|
@gdrau , @FrancoisPerez , Bonjour et merci du correctif. J'ai le même problème que @gdrau , erreur lors de la création du dossier, comment avez vous résolu ce problème ? Merci par avance. |
Bonjour @spottier88, avez vous essayé ce que je décris au poste précédent qui a fonctionné pour moi ? |
Merci @Fotemoucher , Oui, j'ai essayé mais sans succès. j'ai toutefois un doute sur l'endroit ou poser le fichier py (dans le repertoire de l'application pibooth (sous le rep Python, ou ailleurs). J'ai testé les 2, sans effet. Si tu as d'autres pistes, je suis preneur. Merci encore. |
Je l’ai mis ici et ça a fonctionné pour moi |
Je vais essayer de nouveau. Lors de mes tests, j'avais bien la nouvelle demande de connexion (mais qui est lié au pibooth --reset qui supprime le jeton de google. par contre, je n'ai pas de version python9.3 sur mon install (cela s'arrête à la 3.7), faut-il que j'actualise ? Merci encore de tes réponses. |
@Fotemoucher J'ai refait tout de zéro (récup du dernier fichier (qui contient bien les modifs), depôt dans dist-packages, mais j'ai toujours l'erreur "can not create Google Photos album". J'ai tenté de le créer avant, de le supprimer (pour forcer la création). Sans succès. Je suis preneur de toutes idées supplémentaires. Merci par avance |
@Fotemoucher finalement résolu, je n'étais pas dans le bon rep (pour moi c'était /usr/lib/python... (sans le dist...) |
This should be definitely merged to main branch. I also had issues with the plugin and I found this PR only after I found a fix |
Here are the key changes:
The plugin should now continue to function for its core purpose: uploading photos from pibooth to a Google Photos album created by the plugin. You will need to re-authorize the plugin on first use after this update to grant permissions for the new scopes.