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
0
votes
0 answers
Google Cloud, Photos API continuously returning error code 500 (internal server error)
I am making a discord bot, which can automatically send attachments (images) in messages to a google photos drive.
The following snippet (part of bigger code):
create_body = {"albumId": self.album_id, "newMediaItems": [
…

Nived Venugopalan
- 11
- 1
0
votes
0 answers
React Native can't retrieve/map photos from Google Places API
i was able to retrieve all relevant information from nearby restaurant using google places API, relevant information was also able to mapped into my contents, except for photos. i seem to be having some issues when attempting to convert photos to…

Nicholas Cheah
- 11
- 4
0
votes
0 answers
Set Google Photos Caption via Python & Google Photos Library API
I'm facing the same issue described by @Lamprizzle and ?solved by @jlindema -- trying to upload JPGs to Google Photos including the photo's caption:
Programmatically set a Google Photos caption
Instead of Google Apps Script (GAS), we've adapted…

ckp
- 1
- 1
0
votes
1 answer
Google Photo Library integration in Android
I want to fetch Google photos and show into app. I used below code but it is not working.
try {
val credentialsStream : InputStream = resources.openRawResource(R.raw.credential)
val credentials: GoogleCredentials =
…

Pravin Suthar
- 1,403
- 1
- 14
- 25
0
votes
0 answers
How to get sharable url from album I uploaded manually to Google Photos?
I uploaded an album with photos to Google Photos and set it to SHARED (generated shared url aswell). Can somebody please help me, how can I get album's sharable url github repo? I can't seem to figure it out.
I am reading Google Photos docs, but…
0
votes
1 answer
Using google photos API in 2023
Does anyone have an example of how to use the google photos API in 2023? I'm specifying the year because if I try to search for documentation for this, I end up on a photos.get (from google) with sample code that when I run it, gives me an error…

Tim Herzog
- 505
- 1
- 5
- 11
0
votes
1 answer
Google Auth Service Account Bearer Photo API
I am trying to upload an image to google photos service using a google service account with a domain-wide delegation to use a user@domain.com account.
Somehow I only get a 401 error: "Authentication session is not defined." using the code below
What…
user16700468
0
votes
0 answers
Is Syncing Photos with the Google Photos API a possibility?
On the home page for Google Photos APIs, it indicates you can "Keep in sync with new content":
However, looking at the documentation, I don't see an obvious way to do this. I'm wanting to build an API that one-way syncs ALL photos from Google…

Jim Cooper
- 5,113
- 5
- 30
- 35
0
votes
1 answer
UWP : create a BitmapImage with a google photo api uri/url - (Exception from HRESULT: 0x88982F50)
i am trying to display an image (in an UWP App) from my google photo online storage.(google photos api)
When i query the photos i get an json with the following content
{
"id":…

ChrisG
- 116
- 6
0
votes
0 answers
How to share a google photos album with other users
I know how to create a shared album - but I can't figure how to invite google's users to the albums
I need to do it programmaticly since I'm migrating from another service.
Thanks,
mordy

Mordy Shahar
- 107
- 8
0
votes
0 answers
Getting Quota Exceeded on calling the Google Photos API. What are the actual quotas?
I am uploading photos to Google Photos and placing them in Albums via the Photos Library API.
Every now and then, I get an error "Quota exceeded for quota metric 'Write requests' and limit 'Write requests per minute per user' of service…

AngryHacker
- 59,598
- 102
- 325
- 594
0
votes
0 answers
I want to get accessToken from google oauth without opening browser or without opening any google popup using node js
I don't want to open any google form or modal from authentication.
Is there any way to authenticate and get all the google photos using clientId and clientSecret using node js as server only.
I tried some samples given over github and followed some…

Sumant Mishra
- 31
- 4
0
votes
1 answer
Google Photos API - how can I set the order of the mediaItems within album?
I'm using Tanaike-san's project here: https://github.com/tanaikech/GPhotoApp to add mediaItems to my shared album.
I've updated the _apiCall code to specify a position:
path: "mediaItems:batchCreate",
payload: {
albumId:…

jlindema
- 18
- 3
0
votes
1 answer
Programmatically set a Google Photos caption
We have a big batch of photos that I want to put in Google Photos and I want them to all have their respective captions. By caption I mean that upper-right input in the slide-out Info (i) sidebar when viewing Google Photos on desktop web. By…

Lamprizzle
- 115
- 2
- 5
0
votes
1 answer
Google Photos API mediaItems list/search methods ignore pageSize param
I am attempting to do a retrieve of all media items that a given Google Photos user has, irrespective of any album(s) that they are in. However when I attempt to use either the mediaItems.list or the mediaItems.search methods, the pageSize param I…

Derek Σωκράτης Finch
- 67
- 1
- 7