google-photos

Access google photos API via Java

江枫思渺然 提交于 2019-12-04 22:58:28
I am very new to google API and I am having troubles with it. I red documentation Google photos API for Java , then I created OAuth credentials in google API console and downloaded it (credentials.json file). After that I tried to access google photos. Here is code from documentation: // Set up the Photos Library Client that interacts with the API PhotosLibrarySettings settings = PhotosLibrarySettings.newBuilder() .setCredentialsProvider( FixedCredentialsProvider.create(/* Add credentials here. */)) .build(); try (PhotosLibraryClient photosLibraryClient = PhotosLibraryClient.initialize

Google Photos API - authentication

老子叫甜甜 提交于 2019-12-04 22:06:04
I'm trying to get list of my shared albums from Google Photos. I found a enable Photos API in Google Developers Console. HTTP GET: https://content-photoslibrary.googleapis.com/v1/sharedAlbums?key=AIzaSyCkXXXXXXXXXXXXXZiOSe9IiyM8E RESULT: { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "status": "UNAUTHENTICATED" } } 1 Configuration in developers console: Please, what I'm doing wrong? Thank

Google Photos API import all my photos

非 Y 不嫁゛ 提交于 2019-12-04 18:32:29
问题 I've been reading more or less every StackOverflow question about Google Photos, and still I haven't figured out the answer. I need, for my Rails app, to get the url of every single photo uploaded on Google Photos. I can't use Picasa for a long term project, G Drive API does not find all the photos, G+ can't find all the photos Please, help me find a solution O.o It can be Javascript-based, or curl-based, I'll translate it. Thanks in advance! UPDATE I've found https://github.com/howdy39

How to Access Google Photos API with Javascript using google-api-javascript-client and read JSON data?

大兔子大兔子 提交于 2019-12-04 18:11:49
I am very new to using API and getting JSON data using OAuth. Could anybody help me? I am trying to access clients google photos and read them. These code snippets are from google photos documentation. I modified it but still having error: "Failed to load resource: the server responded with a status of 401 ()" and "Uncaught {error: "idpiframe_initialization_failed", details: "Not a valid origin for the client: http://127.0.0 .…itelist this origin for your project's client ID."}" Thank you!!! <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script async

Get list of all files in Google Photos

萝らか妹 提交于 2019-12-03 15:54:44
My ultimate goal is to get a list with all the files (photos, videos) in my Google Photos account preferably with their path. If I have to use some API I would rather use a .NET based one. Can you provide some directions in this matter? I've tried the Gdata API, via the PicasaService, but providing my email/password as credentials did not work and I always get 404 response. How to list all files in your Google Photos : I was surprised at how long it took me to find this API. It's not necessarily "secret information", but I suppose most users are perfectly happy viewing their Google Photos "the

Getting videos(non-local) from the Google Photos App

和自甴很熟 提交于 2019-12-03 15:11:51
With the Google Photos app , I am trying to pick a video, that is not cached on the device. I am using the ACTION_GET_CONTENT intent, to launch the options dialog, and from there I choose the Google Photos app. While selecting local videos, it returns an Uri in this form. content://media/external/video/media/6708 And from that, I query the content provider to retrieve the actual file location, and proceed from there. The file location looks like this. /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20131102-WA0000.mp4 Now, when I choose an online video, i.e: a video not available on my

Google Photos API import all my photos

左心房为你撑大大i 提交于 2019-12-03 11:16:11
I've been reading more or less every StackOverflow question about Google Photos, and still I haven't figured out the answer. I need, for my Rails app, to get the url of every single photo uploaded on Google Photos. I can't use Picasa for a long term project, G Drive API does not find all the photos, G+ can't find all the photos Please, help me find a solution O.o It can be Javascript-based, or curl-based, I'll translate it. Thanks in advance! UPDATE I've found https://github.com/howdy39/google-picker-api-demo which lets me get all my photos inside an album. It's something, but I hope Google

Is there a Google Photos API [closed]

孤街浪徒 提交于 2019-12-02 14:54:47
I know that there is an older post here with the same question. But it was asked in 2012 and the answers are also a couple of years old. Also that is about Google+ Photos , and I am asking about Google Photos Recently Google Photos has been made a shiny new service with new announcements about having unlimited photo uploads (for photo size < 16 MB). I am currently having a service that uploads to Google Drive. I checked Google Developer site but did not find anything related to Google Photos. So does the new Google Photos have any open API with it? Does anyone have any information? I

Fetching Photos from google photos Objective c [iOS]

不问归期 提交于 2019-12-02 08:42:55
Tried many ways to fetch photos from Google photos with picasa webalbum and Google drive but i cant achieve the result.Please let me know how to fetch google photos alone and below coding displays only drive like Pdf docs etc but i need photos...Is there is any query i need to implement instead of files or id.The sample coding is based on Mac and there is no proper solution for iOS and everything in XML format please guide me to overcome this. GTLRDriveQuery_FilesList *query = [GTLRDriveQuery_FilesList query]; query.fields = @"nextPageToken, files(id, name)"; query.pageSize = 10; [self.service

Is there a way to use Google Photos API without requiring authentication through user prompt?

江枫思渺然 提交于 2019-12-02 05:45:28
I have some previous experience with the youtube and youtube analytics api where there was an option to use https://developers.google.com/oauthplayground/ to essentially create an offline situation for your own user account api access. By creating the key in the developer console you could add that to a custom oAuth credentials. The user account you were logged into would then generate the access token and refresh token needed. I do not see Google Photos API listed as an option here. I would prefer not to create a website just to get a prompt once (myself). Any help would be greatly