Using the Google Photos Library API your app can read, write, and share photos and videos in Google Photos.
Questions tagged [google-photos-api]
222 questions
2
votes
0 answers
Google O-Auth 2.0 - Is it possible to authenticate a user without opening in a browser window?
I am currently developing a java command-line tool without a graphical interface, which requires little to no mouse interaction by the user. The ideal flow would be for a user to access their Google Photos/Drive without having to deal with the…
user10431347
2
votes
1 answer
401 Unauthorized on Google Photos API with API Key
Trying to build an Angular 6 application to display all photos from a particular Google Photos album. Before implementing the Angular portion, I wanted to see if I could get the data from a cURL command, using the API key I created and gave access…

Darendal
- 843
- 9
- 29
2
votes
0 answers
Accessing Google Photos after Authentication to Google Apis not working (Error 403 Forbidden)
I have an issue accessing Google Photo API,
I've authenticated successfully in a indows Desktop application following this guide but when I get the authentication Token, I cannot access the API I receive a 403 Forbidden as shown bellow :…

John Code
- 655
- 7
- 24
2
votes
2 answers
How to play video from Google Photos API
Using the Google Photos API, I'd like to play a video using the html tag. I tried using the baseUrl, but the video does not play as the baseUrl is just an image.
Here is a sample mediaItem:
{
"id":…

Ian Davis
- 19,091
- 30
- 85
- 133
2
votes
0 answers
Google Photos Api "BASE_URL=dv" return not found
I use Google Photos API to access media items. My response:
{
"id": "AGj1epWg0cgWQlTxzimRJcC7ZOtL3OGXXcIZGYwJEarHX8iHG4s86ybH1dPI2S0yPIE",
"productUrl":…

Khai King
- 39
- 5
2
votes
1 answer
Google Photos API - List Library Contents - "Request contains an invalid argument" - Recent Change?
Google photos recently made a change to their API (I think), on August 1st. They changed the Listing Library Contents from a POST to a GET. And now my code no longer works.
https://developers.google.com/photos/library/guides/list
Here is a…

awightma
- 41
- 1
1
vote
0 answers
Using Google Identity Services to access the Photos Library API
I have been at this for a while, and even ChatGPT was lost :-P ... I am trying to write a simple "client web app" that will simply list all photos in an account. Most samples and code snippets use the API method and authenticate using the now (as of…

Hany Elkady
- 11
- 1
1
vote
0 answers
Kotlin - Google Photos API integration
How can I integrate Google Photos API into my Android app using Kotlin to get the list of Albums and image according to album id.
I have tried so many ways and solution given on internet but i couldn't find proper documentation or any sample which…

Jay Pithiya
- 51
- 5
1
vote
2 answers
How can I, in Javascript, get my a JSON list of my Google Photos album?
I am trying to build an Express.js based website which, when I navigate to a certain page, grabs a list of albums, links, ids, etc. I have a service account with all permissions. My Javascript is:
const oauth2Client = new google.auth.OAuth2(
…

user311302
- 97
- 5
1
vote
2 answers
How to access Google Photos Library API without CLIENT_SECRET in android
I'm building an android application(no backend server) using Photos Library API , it access to google photos and manage image .
There are three step:
Google Sign in
Authentication app use Google Photos
Access Google Photos
Im stucking with step…

ninhnau19
- 695
- 1
- 3
- 16
1
vote
0 answers
Is there a way to get a photo of the store front from the Google Place API?
I understand how to use the Place API in conjunction with the Place Photos API to retrieve media, but there does not seem to be a way to request the photo reference for the picture of the front of a store like the ones Google usually uses in their…

Ryan Soulard
- 11
- 1
1
vote
0 answers
Colon in grpc url while using wire
I'm trying to make a call to grpc syntax URL: https://photoslibrary.googleapis.com/v1/mediaItems:search
by using Wire framework.
First problem is putting /v1 in path as below configuration ignores it:
GrpcClient.Builder()
…

Jacek Kwiecień
- 12,397
- 20
- 85
- 157
1
vote
1 answer
Google Photos API: 400 error when making request to update mediaItem description
I am trying to "patch" (update) a mediaItem in my Google Photos library to set a new description and am getting an unexpected 400 error. I am referring to the article at…

Mark Lamprecht
- 13
- 2
1
vote
1 answer
How i can find duration of video using google photos API? (iOS/ Swift)
The Google Photos library API does not return the duration of a video. API provides a lot of misc information like camera model and other stuff, but missing very basic things, like video duration, archive status and file size

Vishal
- 81
- 1
- 1
- 5
1
vote
2 answers
Google People API / Other Contacts - how to get photos of other contacts?
Google forces us to migrate from the deprecated Contacts API over new People API.
They even implemented "Other Contacts" feature in the People API which was so demanded.
But now I'm facing another problem - there is no way to get photos of Other…

Stalinko
- 3,319
- 28
- 31