Questions tagged [google-php-sdk]
43 questions
0
votes
1 answer
google php client library breaks on authentication with cURL error 6
I got google api-php-client and I can't make a login as I always get error:
[02-Nov-2017 15:30:52 Europe/Helsinki] ***START***
scripto\CustomException: [0: E_CUSTOM: Suppressed or Custom error] cURL error 6: Could not resolve host:…

centurian
- 1,168
- 13
- 25
0
votes
0 answers
Request had insufficient authentication scopes [403]
I'm trying to use the Google Search Console codes to get position about my website in a Google Search. I using the php-library by Google, so I created a function:
function getPosicao(){
/* Using Stash for caching */
//$objCache =…

Vinícius
- 443
- 1
- 8
- 29
0
votes
1 answer
Google_Service_Exception: fieldNotWritable when uploading a new version of the file on Google Drive
My intention is to be able to upload a new version of the file which is already available on Google Drive.
I've started by the PHP example at https://developers.google.com/drive/v2/reference/files/update#examples .
function updateFile($fileID,…

Slawa
- 1,141
- 15
- 21
0
votes
1 answer
Google Picker with AccessToken not working
I can't seem to get Google Picker working. I have authenticated my user using the PHP League Oauth Provider
After authenticating, an accessToken for my user looks something like this;
ya67.Fi_dfioriogneegroig7Czdy54z0sdfdvnfr9fn38n3n93
This is my…

mikelovelyuk
- 4,042
- 9
- 49
- 95
0
votes
1 answer
Google Drive API oauth2 hangs on live server and returns no error when authenticating with auth_code
I have a huge problem where absolutely no error is returned from google nor php.
I've written a google client oauth2 connect model, which is perfectly working when I'm running it on my dev environment on my mac (I'm not using a simple localhost,…

Aaron Marton
- 131
- 1
- 5
0
votes
2 answers
Google Play applications stats CSV changed?
I made a PHP script last month to retrieve my application's statistiques. Everything works well but since the 1st December, the CSV output downloaded has changed. Indeed, before the 1st Dec I had the followings columns :
Date,Package Name,Current…

RedLens834
- 231
- 3
- 18
0
votes
1 answer
Youtube SDK - How to get Analytics Reporting access and data dumps in PHP?
I wish to download all data from each of my channel's analytics reports minute by minute but I am getting a 403 error. What sort of permissions do I need? How do I get access to the Analytics Reporting API? It says that the API is not available for…

Dathan Vance Pattishall
- 141
- 4
0
votes
1 answer
Get Emails of friends in Google plus api
I want to get the emails of my authorized user.
Currently i am only able to get their details like name and gender but unable to get their emails.
Here is the process i am following.
Ask user to login from client side and generate a code
send that…

Sameer Sheikh
- 499
- 1
- 6
- 16
0
votes
1 answer
Google PHP Api method takes very long to execute
I am working on a dynamic website, which relies heavily on ajax calls. I've noticed that when I load in my front page, and try to access the main search box on this page, it takes 5-7 seconds until the ajax request completes which populates the main…

Adam Baranyai
- 3,635
- 3
- 29
- 68
0
votes
1 answer
Unsupported SSL context options are set. The following options are present, but have been ignored: cafile
Since earlier today (around 9:35AM EST), I'm getting this error message in the Google Cloud log:
E 2015-07-09 10:35:51.967 200 779 B 889ms E 10:35:51.611 E 10:35:51.817 /get.php?u=xxxx@test.com&_=1436448941263
190.188.222.26 - XXX…

Alberto Alexander Rodriguez
- 194
- 10
0
votes
1 answer
How to get Google application name from Google API / PHP SDK?
I'm using Google SDK, where user provides his own application ID and secret. After saving the credentials, I would like to display application's name.
Is there any way to get application's name from PHP SDK and/or API? I looked for it in the SDK…

Robo Robok
- 21,132
- 17
- 68
- 126
0
votes
2 answers
Google Cloud Datastore PropertyFilter Error
I'm using the google apis php sdk and trying to access some data from my google cloud datastore. I'm authenticating no problem at this point, but am getting an error during my query. I pretty much look through the code in the sdk to implement it,…

Eric Uldall
- 2,282
- 1
- 17
- 30
0
votes
1 answer
Google Oauth 2.0 Token Expire Time
To start I am using the Google OAuth 2.0 code from this site https://github.com/google/google-api-php-client
I need to find out where in this oauth directory the token expires and logs you out. I am having issues with the refresh token and usually…

jm874327
- 158
- 4
- 13