Skip to content
Advertisement

Tag: google-api

Google api v3 calandar quickadd php

I’m trying to create events in my google calendar with the google quickadd API. Here is my code: I keep getting the error below. Can someone please tell me why? Fatal error: Uncaught GoogleServiceException: { “error”: { “code”: 401, “message”: “Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.”,

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

Method not found. error when using Google my business API

I am getting 404 from accouts list function by using google api client. I have already access token by using OAuth2.0. In addition to this, I already enable the Google My Business API via https://console.developers.google.com for OAuth 2.0. ■Here is environemnt PHP 7.2.3 Ubuntu 18.04 LTS google/apiclient ^2.5 The function I want to execute is as following. https://developers.google.com/my-business/reference/rest/v4/accounts/list I install

Fetch sender email address in Gmail message list API

I’m using Gmail API to fetch email address (of the sender) for last 10 emails. URL: https://developers.google.com/gmail/api/v1/reference/users/messages/list But Users.messages: list API returns message resource (which includes only email ID). And for fetching sender email address, I have to make one Users.messages: get API call for each message resources, that’s increases load time. How can I fetch email address of sender

Advertisement