I want to copy and paste a row from my main google spreadsheet to some secondary google spreadsheet. The idea is easy, get any row from my main google spreadsheet while keeping its format, paste the row in the last available row of another google spreadsheet and keep the format of the main sheet. But ..
Category : google-api
I have a tasc – "Share GoogleDrive files for some users (with gmail accounts)", and then remove somebody from GoogleDrive with post/get request Can I some use this with API(PHP)? Sourc..
I want to develop a WordPress plugin (for backend use) and use OAuth 2 to access the user’s Google Search Console data. As it will be a distributed plugin and whose code will be accessible, I can’t use my private credentials. I have read this question (OAuth + Google + WordPress plugin) and maybe the ..
I am building a feature for a PHP Symfony app that will update calendar events in a Google Calendar upon changes in my database on my server. The calendar belongs to the google account [email protected] which I administer (domain just illustrative). I am following the instructions for the google-api-php-client in combination with the example for ..
I’m coding a php mailbox for Gmail but when I try to get labels, I get this error : { "error":{ "code":403, "message":"Request had insufficient authentication scopes.", "errors":[{ "message":"Insufficient Permission", "domain":"global", "reason":"insufficientPermissions" }], "status":"PERMISSION_DENIED" }} Here is my code : $labelsURL = "https://gmail.googleapis.com/gmail/v1/users/" . $id . "/labels"; $curlLabels = curl_init($labelsURL); curl_setopt($curlLabels, CURLOPT_RETURNTRANSFER, true); curl_setopt($curlLabels, CURLOPT_HTTPHEADER, ..
I’d like to create a small dashboard containing some analytics data from my mobile application. I found the new Google Analytics Data API which would be perfect for that. I want to run reports in my backend PHP application, so I’m using the PHP client library: https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/analyticsdata Unfortunately I keep running against a 400 error ..
Here is a difficult one… I have managed to adapt the AWS API easily but Google’s Oauth2 is not working in my code… I have tried adapting code from StackOverflow and other sources… I have tried the YouTube upload code generator to only fail the upload. I have tried other code available (older Youtube Data ..
I am trying to integrate My business API to fetch all google reviews on my website, of my google location. I have looked at several answers and not being able to find what the problem is. I am facing a problem with how to get Access Token to proceed. I have passed the following which ..
I’m using this example from Docs <LINK> the only thing i changed was the read scope only for a scope that is allowed to create a user to list $optParams = array( ‘customer’ => ‘my_customer’, ‘maxResults’ => 10, ‘orderBy’ => ’email’, ); $results = $service->users->listUsers($optParams); if (count($results->getUsers()) == 0) { print "No users found.n"; } ..
Hey there I currently have a problem with the google api on a PHP Project, hope one of you can help me. It is similar to this issue : Google Calendar API returns 404 (not found) for different request or this one Error 404: while deleting Calendar Event I have a Domain-wide Delegation setup, so ..