google-api

Symfony2 and Google API integration

寵の児 提交于 2019-12-28 16:17:53
问题 I am going to use Google API located on http://google-api-php-client.googlecode.com/svn/trunk/ with my Symfony2 application. Is it possible to import this API with composer ? What is the best practice to use this API with my application ? 回答1: It's probably too late, but there is no need to use forked git repos, you can refer to Google's "native" svn directly. Add the following section to your composer.json : "repositories": [ { "type": "package", "package": { "name": "project/google-api-php

Get Google contacts using API on iOS

孤人 提交于 2019-12-28 16:07:43
问题 I have added Google login to my app which uses Firebase to login with social media. I am now trying to access the friends of the Google user. I want to return a list of friends/contacts so I can search to see if they are currently using the app. I have found very little information on this so far. There are a number of stackoverflow questions which are unanswered asking a similar thing. The Google API has been updated from a Google+ login to a Google Signin API meaning that whereas previously

How to match comments on an image using kix anchor (or not) in Google Docs

自古美人都是妖i 提交于 2019-12-28 13:57:14
问题 It's possible to retrieve elements of an open Google Docs document, starting from DocumentApp.openById(doc_id, folder_id) but the comments on a document are retrieved through the Drive API, with Comments.list Running this on a document with 2 comments: one on an image, one on a word in a paragraph shows that while text-anchored comments do, images don't return a context entry: "content": "test comment on text", "deleted": false, "status": "open", "context": { "type": "text/html", "value":

Google Api error “Multiple methods named 'initWithArray:' found”

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-28 12:32:42
问题 I am using the google calendar api and I am getting two errors. GTMGatherInputStream.m:25:13: Multiple methods named 'initWithArray:' found #import "GTMGatherInputStream.h" @implementation GTMGatherInputStream + (NSInputStream *)streamWithArray:(NSArray *)dataArray { return [[[self alloc] initWithArray:dataArray] autorelease]; //error on this line } GTMOAuth2Authentication.h:31:11: 'GTMSessionFetcher.h' file not found #if GTM_USE_SESSION_FETCHER #import "GTMSessionFetcher.h" /

Google Api error “Multiple methods named 'initWithArray:' found”

杀马特。学长 韩版系。学妹 提交于 2019-12-28 12:32:10
问题 I am using the google calendar api and I am getting two errors. GTMGatherInputStream.m:25:13: Multiple methods named 'initWithArray:' found #import "GTMGatherInputStream.h" @implementation GTMGatherInputStream + (NSInputStream *)streamWithArray:(NSArray *)dataArray { return [[[self alloc] initWithArray:dataArray] autorelease]; //error on this line } GTMOAuth2Authentication.h:31:11: 'GTMSessionFetcher.h' file not found #if GTM_USE_SESSION_FETCHER #import "GTMSessionFetcher.h" /

Android Studio DexIndexOverflowException: method ID not in

走远了吗. 提交于 2019-12-28 04:51:09
问题 I use Android Studio to develop an application and I face this error which I have no idea how to solve. com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff] :app:lintVitalRelease :app:prePackageMarkerForRelease :app:transformClassesWithDexForRelease FAILED Error:Execution failed for task ':app:transformClassesWithDexForRelease'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com

Google.GData.Client.GDataRequestException - Authentication suddenly fails in old code

梦想与她 提交于 2019-12-28 04:13:31
问题 I'm suddenly starting to get the following exception when attempting to authenticate and access a spreadsheet on Google drive: Unhandled Exception: Google.GData.Client.GDataRequestException: Execution of aut hentication request returned unexpected result: 404 at Google.GData.Client.Utilities.getAuthException(TokenCollection tokens, Htt pWebResponse response) at Google.GData.Client.Utilities.QueryClientLoginToken(GDataCredentials gc, S tring serviceName, String applicationName, Boolean

Gmail API: 400 bad request when trying to send an email (PHP code)

荒凉一梦 提交于 2019-12-28 03:04:56
问题 I expected the code below to send an email, but I'm only getting this: An error occurred: Error calling POST https://www.googleapis.com/gmail/v1/users/me/messages/send: (400) Bad Request I get a 200 OK using the Google Developers Console here at the bottom. Any help? $client_id = '599901532082-js1r50n20q6n5mir9fo1g81qkj9kfn3j.apps.googleusercontent.com'; $service_account_name = '599901532082-js1r50n20q6n5mir9fo1g81qkj9kfn3j@developer.gserviceaccount.com'; $key_file_location = '/tmp/APIProject

Youtube video uploads rejected before API quota limit reached

守給你的承諾、 提交于 2019-12-28 02:06:54
问题 The API quota for my project was successfully increased to 4M through the application process. This is confirmed in the details for the quota via the Google Developer console quota page for the enabled API. Videos are, however, being rejected with this message after just the standard 50 uploads with this message: Task 310: Upload failed. Exception: HttpError 400 "The user has exceeded the number of videos they may upload." Here is an example of a successfully published video. Thousands of

google plus api: “insufficientPermissions” error

眉间皱痕 提交于 2019-12-27 20:09:51
问题 I am searching the google plus with api Here is my Url: https://www.googleapis.com/plus/v1/activities?query=internet%20marketing&access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx here is response: { "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient Permission" } ], "code": 403, "message": "Insufficient Permission" } } Here is my API CONSOLE screen http://i.stack.imgur.com/jO27J.png Can Anyone tell what permission I need to setup for my app