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
0
votes
0 answers

Using PHP Google Photos Api with Server-To-Server communication

I want to access the google photos via a web server. I.e. My webserver should call the google api and show pictures to me. I have created a service account in google and created also a public/private key. But I am having an issue with the php photos…
KSE
  • 31
  • 1
0
votes
0 answers

IncompatableClassChange error while running PhotosLibraryClient.initialize()

I am working on using the google photos Java API to upload files to google photos. I have gone through multiple versions of example code from here and here, but nothing has entirely worked. My current problem is when I try to initialize the…
jakebacker44
  • 35
  • 1
  • 7
0
votes
1 answer

Trying to access videos using Google Photos API always returns 403

When trying to access video-mediaItems from Google Photos using the format baseUrl+"=dv" (specified in the docs here), I always get a 403 error. Images, on the other hand work just fine (Including thumbails for the videos). I recall some videos…
0
votes
1 answer

Google OAuth client is using the wrong project_id from the json file- Python

My Python (3.6.7) code uses oauth2client to access Google Photos APIs. It successfully authenticates, but when it tries to access the Google Photos albums, it seems to be using the username as the project_id. from __future__ import…
0
votes
0 answers

Can't get Google photos album contents using google photos api (and ColdFusion cfhttp)

I'll keep this short. I have OAuth working with the Google Photos API. I am able to return albums and media items but not album specific media items. Below I've done three requests. The first two work while the third does not. Note: In the third…
0
votes
1 answer

Google Photos API returns corrupt image when accessed with BASE_URL=d

Our app implements the Google Photos API to allow our user to select the images from their Google Photos album and then edit them. However, in some cases, the image retrieved from Google Photos API (with URL as BASE_URL=d) is corrupted, i.e., part…
user6318446
  • 467
  • 1
  • 4
  • 10
0
votes
0 answers

Google Photos API on Android without Server

I'm pretty new to Android / mobile programming. Is it possible to create an Android App that talks directly to the Google Photos API without my own server / backend? I see most of the examples have a Java server, but for the simple app I'm trying to…
0
votes
1 answer

Request must have at least one newMediaItem - Google Photos API

I'm trying to create media item using Google Photos API. Endpoint is documented here. If I copy and paste my payload to an API explorer which can be found in documentation, I get success: Request inputed to an API Explorer and Successful …
Ignas Poška
  • 57
  • 1
  • 4
  • 7
0
votes
1 answer

Will Google picasa API key work as Google photos API key?

In 3 weeks Google will permanently shut down Picasa API, I used it for downloading photos of my clients. I've already modified my code to work with Google Photos API, but I have some concerns about migrating to it. Is it necessary to create new api…
Gieerzetka
  • 108
  • 1
  • 8
0
votes
1 answer

Google Photos mediaItem.get not behaving as documented

Per https://developers.google.com/photos/library/guides/access-media-items I am expecting that if I take mediaItem.baseUrl for an image, tack on =d to the end, and authorize the request, then i'll get back the media item's original bytes. This works…
xaphod
  • 6,392
  • 2
  • 37
  • 45
0
votes
1 answer

Quota Limits with Google Photos API

I am hitting the daily quota limits of the API, but my usage of the API does not correspond with the quota counts as listed by Google. Here is my usage for 12 hours, started at the reset time of midnight PST: >…
Michael Updike
  • 644
  • 1
  • 6
  • 13
0
votes
1 answer

How to migrate an app from the Picasa API to the Google Photos API

My company has a software that allow users to print photobooks, canvases and stuff like that, and we also allow people to upload photos from social networks such as Google Photos, last month, the old Picasa API was deprecated and now i have to…
0
votes
1 answer

Google Photos Video Streaming not Working in Safari

I'm trying to get a playable video from a url of a video stored on Google Photos. The documentation suggests adding "=dv" to the base_url It play video in Chrome, Firefox but not in Safari. How do I go about playing video in Safari from Google…
nakunakifi
  • 73
  • 3
0
votes
0 answers

Using "Google Place Photos" images in react native FlatList

Im using a flatlist in react native and my listitem is as follows:
james murphy
  • 1,505
  • 5
  • 31
  • 57
0
votes
0 answers

How to filter results by media type in php for google-photos-api?

I am building a filter in a simmilair way to the sample project on git hub: https://github.com/google/php-photoslibrary/blob/samples/src/filters/index.php $filtersBuilder = new FiltersBuilder(); $filtersBuilder…
Ariel Ferdman
  • 124
  • 3
  • 11