I have read a lot of articles : Google Calendar API – PHP https://developers.google.com/calendar/quickstart/php and others.. I want to use the service account, I gave permissions for my calendar, I have downloaded the json key. If I use the code from Google, I got: missing the required redirect URI If i use the code: I have: Client is unauthorized to
Tag: google-calendar-api
Google Calendar API Token not refreshing
For some reason when my token expires I need to delete the file and reconnect again otherwise nothing is working. Is it because the new token is not stored or? I have the following code: Answer It seems that you are not returning client in case the token expired Modify your code as shown in the quickstart for PHP to
Getting google calendar, “Service accounts cannot invite attendees without Domain-Wide Delegation of Authority.”
I can create events but when add attendees it returns this error i followed google guide and every thing is done but i can’t figure out what the problem My code I’m using google-api-php-client the error: GoogleServiceException: { “error”: { “errors”: [ { “domain”: “calendar”, “reason”: “forbiddenForServiceAccounts”, “message”: “Service accounts cannot invite attendees without Domain-Wide Delegation of Authority.” } ],
Google calendar meet link not being created automatically via Google Calendar API (PHP)
Google calendar meet link not being created automatically via Google Calendar PHP API. Google Calendar API stopped creating a hangout meeting link automatically. The same code was working a few months back but not not not. Code Answer Solution In order to create the conference data property in an Event you will have to send a request with the ConferenceDataVersion
PHP Google insert calendar event API
I am using this package : https://github.com/googleapis/google-api-php-client I used to get $meet_link like this from the API but suddenly it started throwing error Infact calendar event has been inserted perfectly but I am not getting $event->conferenceData->entryPoints[0]->uri in response. Infact I am not getting this entryPoints object($event->conferenceData->entryPoints) Answer There seems to be an issue with the conferenceData returned when creating an
Google Calendar API PHP | GOOGLE_APPLICATION_CREDENTIALS: file xxx.json does not exist
I’m pretty new at this but I’ve been trying to use the google calendar API to show upcoming events on a website I’m making. So far I’ve enabled the API and created a service account to access the …
How to set the color of a Google Calendar that was created via the API
I’m using the google calendar API with PHP. I know how to create a new calendar, but how do I set the color of the calendar I’ve created? I’ve been searching for hours. I’ve tried I’ve tried both of which are undefined methods. I found documentation on how to modify the color definitions. And sent the color of an event
OAuth2 token, message: ‘{ “error” : “access_denied” }’ returned when I try to update Google Calendar using OAuth (Service Account)
I am using Google Standard Library for PHP for using Calendar Service and I have set up a Service Account type for OAuth 2.0 Authentication through Google API Console. My main objective is to update …
Google Calendar API PHP listEvents not retrieving all events
i am trying to retrieve ALL of the events using the Google_CalendarService. So far I am retrieving everything with recuring events, but there are some events that don’t show up. Example: I have …
How to use the Google calendar API’s functions
I’m trying to use the Google calendar API and I can’t properly call the built-in functions. For reference: This code return a fatal error: Call to a member function getItems() on a non-object I don’t understand how to use an object which is not instantiated by a New(). Answer You need to add this line into your code