Questions tagged [google-photos-api]

Using the Google Photos Library API your app can read, write, and share photos and videos in Google Photos.

222 questions
1
vote
1 answer

Long lived token for accessing Google Photos via API?

We have a requirement where we want to integrate our service with Google Photos, thus providing the users to choose the images from Google Photos inside our site. My understanding so far is that in order for the images to be available on our end for…
1
vote
0 answers

Remove 'play' symbol from video thumbnail generated by Google Photos API

Using the Google Photos API I would like to display the thumbnails associated with videos without the play icon overlaying the image. This is what it looks like. How can I remove the white play arrow? I know from the documentation that "to access…
IanS
  • 1,459
  • 1
  • 18
  • 23
1
vote
1 answer

Google Photos API - media items without albums

I like Google Photos but I've noticed that it is lacking some basic metrics like how many media items are in my account. Also I wanted to see which of my media items are not included in any of my albums. I ended up creating a simple console app…
pavel
  • 2,964
  • 2
  • 14
  • 14
1
vote
1 answer

Upload photo to google photo by google API and Python

I'd like to upload some photos to my google photos with my simple Python code. So, first, I creat my project in google API and I enable "Google Photo" in Library. After that, I create OAuth 2.0 Client ID. I chose "Web application" and I…
1
vote
1 answer

Google Photos API - Is there a way to extract comments

I'm looking for a way to extract google photos comments. Is there any official way through the API? Any alternatives? Thanks Z
Zee
  • 131
  • 2
  • 11
1
vote
1 answer

Google Photos API BatchRemoveMediaItems works in Postman but not Python

I have a script that periodically uploads some Python-edited images to a Google Photos album. Since there is no public API that allows overwriting existing images, I have to get the MediaIDs of the images in the album, remove them from the album…
1
vote
1 answer

Google Photos REST API “BASE_URL=dv” return "302 Moved" error

I was using Google Photos REST API to download my videos. Based on the documentations, I was using the below curl command with BASE_URL=dv parameters to get the video file and getting 302 Moved error but video is in READY state. Pasted the output…
Kirubakaran
  • 378
  • 4
  • 20
1
vote
1 answer

Error in newMediaItemResults in Google Photos API

I was able get the upload token and a 200 status code on batchCreate. However, the detailed response was this; { "newMediaItemResults": [ { "uploadToken":…
Anuj Kaithwas
  • 803
  • 1
  • 10
  • 30
1
vote
0 answers

Google Photos API issue: response without mediaItems

I have an issue getting the right response from some API methods. When I am trying to get a list of mediaItems with list method, the response which I get includes only the nextPageToken string, but not the mediaItems list as expected. I can get this…
borisros
  • 11
  • 2
1
vote
1 answer

google photos API

is there a way to iterate over all items in some album, in google photos? I'm using the google photos provided API, and from what im aware of, I can only get access to 100 media items at a time, using the following: def…
Hadar
  • 658
  • 4
  • 17
1
vote
0 answers

Is there an API function i can use to comment on an album on Google Photos

So basically i have a shared album on Google Photos and i want to know if there's an API function which will let me provide comments on the album, since i was searching and the closest thing was adding enrichments to the album which was close but…
abstbb
  • 19
  • 2
1
vote
1 answer

Why can't I upload to google photos with this code from python (google photos api using REST from Python)?

I'm following the guide at https://www.youtube.com/watch?v=wwAwG-SEaRM to upload an image to Google Photos with Python, but I'm getting this error: I could almost swear it worked the first time, but I cannot be sure: "Exception has occurred:…
Roger
  • 333
  • 2
  • 13
1
vote
0 answers

Google Photos API integration in React Native

I am using React native Google Sign in plugin for authenticating the users, to use google photos API. According to the given documentation of the plugin, I did the configurations. It is working fine on the iOS platform but not on the Android…
Lokendra
  • 113
  • 2
  • 8
1
vote
0 answers

How do I make google api request with firebase authentication?

I'm trying to fetch google api data within my firebase app. After login using firebase.auth().signInWithPopup, i get accessToken and idToken. What I'm trying to do is after sign in, redirect to another page and fetch album data from google photos…
1
vote
1 answer

Google Photos upload via API automatically deleting certain videos after processing

I wrote a basic tool to upload media to Google Photos via the official API: https://developers.google.com/photos/library/guides/upload-media Everything in the described flow works, I'm able to upload media and create the media item in Google…
Tyler
  • 889
  • 1
  • 11
  • 17