google-api-php-client's questions - Italian 1answer

0 google-api-php-client questions.

I want to create folder in googledrive root directory using CURL. File is uploaded to drive but I need to create a folder and upload file to that folder. function CreateGDFolder($credentials) { $ch ...

I'm working on a client web app where users can book drives with date, time, location...etc the client required that every booking is added as an event on his google calendar I created an API key ...

I am following with the article below, https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/web-php But in the end, when I try with the sample code (HelloAnalytics.php), it ...

I am having the same error as this. In my case it is happening when the app is trying to upload a file via Google Cloud Client API. POST https://www.googleapis.com/oauth2/v4/token 400 Bad Request ...

I have a website where users can register and login. Each user has their own custom calendar on my site. I want a feature where they can connect/login with their Google account and my site so that it ...

I am using google Classroom google API and Google APIs Client Library for PHP. I can add announcement, but I cannot add materials. I would like to add files to Google Drive, but I have errors even ...

I want to fetch all the photos on Google photos on my web site using php. Is it possible?. I know Picasa Web Albums Data API deprecated. I have got try it from Picasa. but i am not able to download ...

I have a large dataset that I need to push to the account-level shipping settings in Google Merchant Center. I am using the Google Shopping API via the PHP Client Library. If I load a subset of the ...

I have website created in PHP. Basically it is a send document kind of project. It uses a document store in Azure I will call and send it into Azure. Now I want to send in email as well as store in ...

I am writing an app (using PHP) which will add students to a Google Classroom. I am following the documentation at: https://developers.google.com/classroom/guides/batch I am using the batch request ...

I've just installed the Google API 2.0, setup my application and I'm trying to authorize a user but I keep getting this error: array(2) { ["error"]=> string(13) "invalid_grant" ["...

The size of Google php API Library is very large. I just want to send an email with the library. How can I reduce its size?

first of all I am new to this topic, so I hope my question is not too stupid. I want my website to have PHP access to Google Analytics metrics. I followed every step of this description from google. ...

For the GMAIL API - Is there a way to use multiple strings in the query without looping through each string individually. Below are some use cases: 1 - Get all results for emails that contain either ...

I'm using the Google PHP client library to authenticate users into a site. Using very close to the example in the docs However, users are always redirected to the homepage after login, i.e. site.com/....

I want to save uploaded file in Google Drive using PHP for this.I'm not getting any response for this. If anybody can suggest would be appreciated. Below is my code I am download API form this github ...

I want access every thing that comes into the mail from user ( attachment of any type, html in mail body, images in body). For that i am trying to access Gmail API referring from here, I have ...

I am successfully connecting to the Google Adwords API with the OAuth2 examples from Google. I want now to implement programatically the disconnection of the customer for this OAuth2 connection. I ...

I have to implement a way to upload video from our site to youtube. I already registered the app in Google Cloud and got all the necessary client ID, client secret code, browser key, redirect uri and ...

I am using the google adwords API to connect with adwords and list all the campaingns. I am connecting with OAuth to the Adwords account and become an access_token and an refresh_token, which I am ...

I have a php program that must read analytics data and save these data to a DB. Because the data is too big, I use the pagination (10000 to be more specific). As I run the code over and over again, ...

Given that my server end point has received a Purchase Token relating to a Google In App Billing purchase, how do I go about programmatically verifying it and gaining access to its contents? I can ...

This is my code for gmail watch request push notification define('SCOPES', implode(' ', array( Google_Service_Gmail::MAIL_GOOGLE_COM) )); $this->client = new Google_Client(); $this->...

I want to delete a list of contact with Google API feeds. I generate the following XML body : <?xml version="1.0"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:gContact="http://schemas....

I need to start the google cloud instance and stop if my process is over. So i tried api calls from https://cloud.google.com/compute/docs/reference/rest/v1/instances/get Created API Key and oAuth ...

I used the YouTube API but a new error appears recently when creating playlist: { "error": { "errors": [ { "domain": "youtube.playlist", "reason": "exceededRateLimit", "message": "...

I followed the docs and code samples from documentation guide i.e., here: https://developers.google.com/youtube/v3/docs/commentThreads/insert But when I execute the script it always returns a response ...

We have been trying to extract unsampled data from google analytics premium account using the management api. We have collaborate access on the service account but we are unable to create report for ...

Following the Google documentation for Web Server PHP flow located here, I was able to successfully prompt user login with oauth2callback.php. However, returning to the original site after ...

I'm a bit new to cakephp and I'm struggling to find a good tutorial which explains how to import the Google PHP SDK into my cakephp 2 project. I only want to use the Google+ bit to allow users to ...

I'm trying to use the Google analytics API. I created an account in the developer console, I use the OAuth2 to grant access to users data. So I have my refresh_token. But now, I would like to get all ...

Is there a way to programmatically get a shareable link for google form? I've copied a google form file using php api and now I want to get a sharable link to this form.

So I recently upgraded the google api client for PHP, and I've been having trouble getting it to authenticate and give me a token. It used to work fine with the old library, however this new library ...

I'm using the following code to connect and make my requests to G-API: require_once '/google-api/vendor/autoload.php'; putenv('GOOGLE_APPLICATION_CREDENTIALS=/mySecretFile.json'); $client = new ...

I am currently facing a very strange problem, indeed I've been following this very same guide (https://developers.google.com/google-apps/calendar/quickstart/php) from Google API documentation. I tried ...

I use the Blogger library v3 for php,I can not insert a new post. The error message was: Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error calling POST https://www....

I want to get a list of shared (not primary or resource) Calendars through Google Calendar API for PHP. I tried the following: (...) $service = new Google_Service_Calendar($client); (...) $...

My use case involves dynamically adding attendees. I want these attendees to receive an invite e-mail from Google. I have a hacky solution mostly working: // Create attendee $attendee = new ...

My goal: I want to save the session ID of Google Analytics (also need to figure out how to get that) with every order on my (PHP based) website & then use that in order to get additional data from ...

Trying to find how to post to google plus wall from PHP but got 403 even using the api explorer at got the { "error": { "errors": [ { "domain": "global", "reason": "forbidden", "...

I found a similar article here, but after a lot of testing, I'm still running into issues (Google API Data Transfer Insert: missing resource.applicationDataTransfer). Essentially I'm trying to ...

On the Google Tasks API website > Reference > Tasks > (https://developers.google.com/google-apps/tasks/v1/reference/tasks) scroll down to 'Resource Representations'. It looks like I can add a link to ...

I use a google api in PHP provided by google (google-api-php-client). However, I face a problem that the api asks twice for the login. When I click on "Log In To Your Google Account" link for the ...

I can't use composer as I'm on a shared host so I have used the instructions at https://www.codexworld.com/login-with-google-api-using-php/ to set up google sign in for my website and it works fine. ...

I was implementing "Register With Social Login Buttons". I downloaded the Google Client API library via Composer. I tested that outside the yii2 framework environment and everything is working ...

I am using Google PHP client to access spreadsheet data. I getting this fatal error: Fatal error: Uncaught exception 'Google_Service_Exception' with message '{ "error": { "code": 403, "message": "...

I am running the following code for applying a label to about 30-40 messages. The label does get applied to most messages but few get left out for some reason. If I do not use batch mode then label ...

I already have a google analytics account. so when I try to run HelloAnalytics.php following Hello Analytics API: PHP quickstart for service accounts It's response: {"error":{"errors":[{"domain":"...

I'm struggling to trigger a Google Apps Script Function which builds many dropdowns of a Google Spreadsheet. I need this data to be updated daily on this Google Spreadsheet so I must call the ...

Wow, I have searched high and low and can't find a hint of a "good" answer to this question. Which makes me believe its very easy and nobody is asking, and I am stupid, or nobody can figure it out. ...

Related tags

Hot questions

Language

Popular Tags