google-calendar-api

Error while creating google calendar event with a service account

穿精又带淫゛_ 提交于 2021-01-04 07:17:12
问题 I have a requirement of creating a google calendar event on a calendar and add other users as attendees to that event. The objective is to send calendar events to the application users without taking their consent ( O-Auth ). After reading Google's documentation, I found out that I need a service account. So I created a project and a service account from one of the email addresses of our G-Suite, noreply@xxxxx.com and enabled calendar API for the same. I created and downloaded a key pair (

Service account Domain-wide delegation - Google Calendar API v3 on PHP

冷暖自知 提交于 2021-01-01 06:55:06
问题 I have a problem with the domain-wide delegation using Google API PHP Client (https://github.com/googleapis/google-api-php-client). I know this question has been asked before but I couldn’t find any solution, so I’m here asking again hoping that meanwhile someone solved this problem. Situation I created a service account and enabled G Suite domain-wide delegation, following the google guide (https://developers.google.com/admin-sdk/directory/v1/guides/delegation), but I cannot read the

android google calendar api not working when in release

纵饮孤独 提交于 2020-12-25 09:53:45
问题 I am using google calendar api to get events from a public calendar. In the google developer console I have created a service account key (json) which I use to setup the GoogleCredential in the android code as follows: AssetManager am = getAssets(); InputStream inputStream = am.open("key-file-name.json"); GoogleCredential credential = GoogleCredential.fromStream(inputStream); credential =credential.createScoped(Arrays.asList("https://www.googleapis.com/auth/calendar.readonly")); Then I use

google calendar The request failed because one of the field of the resource is invalid

假装没事ソ 提交于 2020-12-15 11:44:15
问题 please when go to activate Enabled the Google Calendar API ,i have this pupop notify Couldn't create brand warning The request failed because one of the field of the resource is invalid please 回答1: I am facing the same error and I used the developer console to inspect the response. I see {"0":{"type":"client_auth_config","subject":"?error_code=9&error_field_name=CreateClientRequest.client.type&error_field_value=TYPE_UNSPECIFIED"}} for my case. So I click Create Credentials -> OAuth Client ID

Google Calendar API how to find attendee list

余生颓废 提交于 2020-12-13 07:24:16
问题 I need to find attendee list for a meeting using Google Calendar API. To extract attendee email, I have below code: eventsResult = service.events().list(calendarId='primary',timeMin=tmin,timeMax=tmax,singleEvents=True,orderBy='startTime').execute() events = eventsResult.get('items', []) for event in events: start = event['start'].get('dateTime', event['start'].get('date')) end = event['end'].get('dateTime', event['end'].get('date')) attendees = event['attendees'].get('email', event['attendees

Meet in Google Calendar API

五迷三道 提交于 2020-12-09 06:56:50
问题 How can I add google meet in google calendar api in java? Please help me. I haven't understood the google documentation. https://developers.google.com/calendar/create-events. The source code is given here. Here, I want to create event using users gmail account. I have not any G-suite account Event event = new Event() .setSummary(title) .setLocation(location) .setDescription(description); DateTime startDateTime = new DateTime( date +"T"+startTime+"+06:00" );//"2020-05-05T11:00:00+06:00");

Meet in Google Calendar API

*爱你&永不变心* 提交于 2020-12-09 06:56:00
问题 How can I add google meet in google calendar api in java? Please help me. I haven't understood the google documentation. https://developers.google.com/calendar/create-events. The source code is given here. Here, I want to create event using users gmail account. I have not any G-suite account Event event = new Event() .setSummary(title) .setLocation(location) .setDescription(description); DateTime startDateTime = new DateTime( date +"T"+startTime+"+06:00" );//"2020-05-05T11:00:00+06:00");

Meet in Google Calendar API

徘徊边缘 提交于 2020-12-09 06:54:14
问题 How can I add google meet in google calendar api in java? Please help me. I haven't understood the google documentation. https://developers.google.com/calendar/create-events. The source code is given here. Here, I want to create event using users gmail account. I have not any G-suite account Event event = new Event() .setSummary(title) .setLocation(location) .setDescription(description); DateTime startDateTime = new DateTime( date +"T"+startTime+"+06:00" );//"2020-05-05T11:00:00+06:00");

Android Google Calendar “Unable to launch event”

a 夏天 提交于 2020-12-09 06:01:24
问题 Case 1 I have hosted a calendar event iCal .ics file on Amazon AWS and the HTTP URL to the same is integrated within my Android app. Here is the file When the user clicks on URL, an intent chooser is displayed with following options: Calendar apps Browsers to download file When I select Google Calendar, it gives me an error that says "Unable to launch event" When I select Chrome, the file get's downloaded and when the user clicks on downloaded file it gives same error "Unable to launch event"

Android Google Calendar “Unable to launch event”

核能气质少年 提交于 2020-12-09 05:58:32
问题 Case 1 I have hosted a calendar event iCal .ics file on Amazon AWS and the HTTP URL to the same is integrated within my Android app. Here is the file When the user clicks on URL, an intent chooser is displayed with following options: Calendar apps Browsers to download file When I select Google Calendar, it gives me an error that says "Unable to launch event" When I select Chrome, the file get's downloaded and when the user clicks on downloaded file it gives same error "Unable to launch event"