uppy
uppy copied to clipboard
Plugin for Google Photos
I would like to know if there are plans to create a plugin for google photos? If not, maybe I could start creating it, but I need help. Where to begin... Maybe someone already did?
https://developers.google.com/photos front: https://uppy.io/docs/writing-plugins/ back: https://github.com/transloadit/uppy/tree/master/packages/@uppy/companion google drive example: https://github.com/transloadit/uppy/tree/master/packages/%40uppy/companion/src/server/provider/drive facebook example: https://github.com/transloadit/uppy/pull/1794/files
Hi @fortunto2 we didn't make plans for Google Photos yet, so it'dl certainly be great if you found time to work on it.
As mentioned in your list, the facebook PR is a perfect example of what it takes to have it implemented.
You can also have a look at the OneDrive PR
For OAuth, Companion uses grant internally, and that is what this configuration corresponds to. It is basically the configuration that will be passed to grant in order for it to handle the OAuth dance. So in the case of Google Photos, we'll be doing something similar that corresponds to values that Grant expects.
I hope this helps! Please let me know if there's anything else you'd like me to clarify.
Hey @fortunto2 ,
Do you still plan to work on this? :)
@tim-kos I didn’t do it unfortunately. In general, the task is urgent, I would like to return to it later.
Closing this for now to help with the issue count, we’d definitely welcome a PR and will assist you or someone who would like to contribute, please mention us here or open a PR.
I realize this is closed but the lack of google photos is a glaring omission. Almost every android user has google photos on their phone and photos are automatically uploaded to the cloud when connected via wifi. If there was a case for transloadit / uppy to minimize bandwidth concerns for mobile users and share images via the cloud, google photos would be it.
I know this is closed, and i dont know if this is the place, but lack of google photos integration is the reason our company uses filestack instead of uppy. We're always thinking to make the switch someday. <3 <3
Adding a comment to bring some attention back to this issue. Google drive plugin is handy but we often get requests from our users for direct access to Google Photos. Any plans to add this?
Not sure how it would be implemented. I’m not super familiar with google photos but I’d imagine that in order for it to actually be useful, the user would need ways to:
- list and view their albums
- Search for photos by name, date, ai features?
- Fast scrub through photos like on the phone with the year/month in the scrollbar (iphone has this for photos, i dunno about android)
If not, how else are people going to find a needle in a haystack of 100000 pictures
if someone can share how google photos works on android or web that could be used as inspiration.
we are now working on a google photos plugin. pr coming soon.
remaining tasks:
- [x] allow using the same oauth provider (google) for drive and photos, must handle callback differently than currently
- should we share auth token between google drive and google photos? store accessToken/refreshToken outside providerUserSession, keyed on authProvider?
- agreed to not share the auth session for now as the easiest implementation.
- [x] must dynamically set scope based on user requested provider
- [x] fix tests
- [ ] improve UI (support tiles/grid a.la instagram for albums)
- [ ] sign up for partner program https://developers.google.com/photos/partner-program/overview
- [ ] get more info about images? (batch) https://developers.google.com/photos/library/guides/access-media-items#get-multiple-media-item
- [ ] test expired access token / refresh as well as other error codes
- [ ] show more metadata about photos in the UI? currently the photo name is the file name (XYZ.JPG) which is not very relevant. avilable info is things like: description, date/time, width/height, camera hardware info
links:
- https://developers.google.com/photos/library/guides/overview