Top "Google-api-php-client" questions

The Google APIs Client Library for PHP provides access to many Google APIs.

Google API Client "refresh token must be passed in or set as part of setAccessToken"

I am currently facing a very strange problem, indeed I've been following this very same guide (https://developers.google.com/…

php google-api google-calendar-api access-token google-api-php-client
Google API PHP offline access, "invalid_grant: Code was already redeemed"

How to authorize a Google Client permanently until the user revokes authorization? I am trying to make an app that …

php oauth google-api google-oauth google-api-php-client
Google Calendar API v3 - authenticate with hardcoded credentials

I am writing a PHP application that's supposed to allow users to add certain events to a private Google Calendar. …

php google-api google-api-php-client google-oauth google-calendar-api
Google Cloud API - Application Default Credentials

I have the following code, modified from Google's documentation: $GOOGLE_APPLICATION_CREDENTIALS = "./[path].json"; $_ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "./[path].json"; $_…

php google-api google-cloud-platform google-api-php-client
Insufficient authentication scopes error using Google API

I set up Google SDK to use Google API with Application Default Credentials. For my local machine, created a credentials …

google-api google-compute-engine google-api-php-client google-api-client
Google_Service_Directory - (403) Not Authorized to access this resource/api

I have a problem just using an example of actual version of PHP api, and using the "service-account.php" file …

php api google-api-php-client google-admin-sdk
Inserting Google Calendar Entries with Service Account

I'm trying to use a service account to create entries on a Google calendar. I'm really close on this, but …

php google-calendar-api google-api-php-client
Google Client Invalid JWT: Token must be a short-lived token

I am using Google's php api client. I am running through the quickstart guide for service accounts. I followed the …

php google-api google-api-php-client