google-calendar-api

Android giving IOException with 'unable to create directory: /tokens' when using google calendar api

≡放荡痞女 提交于 2019-12-24 18:11:34
问题 Trying to implement the Calendar Quickstart API into Android but when I declare tokens as demonstrated. private final String TOKENS_DIRECTORY_PATH = "tokens"; That String is then used in the builder GoogleAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow.Builder( HTTP_TRANSPORT, JSON_FACTORY, clientSecrets, SCOPES) .setDataStoreFactory(new FileDataStoreFactory(new java.io.File(TOKENS_DIRECTORY_PATH))) .setAccessType("offline") .build(); But Android returns this error when setting

iCalendar events imported in Google Calendar are empty

馋奶兔 提交于 2019-12-24 17:09:16
问题 When importing a ics file ("iCalendar") into Google Calendar, the import proceed successfully and all event appear in the calendar, but all fields of the events are empty. The only information displayed is "busy" ("occupé(e)" on the screenshot). No error message is displayed during the import. The ics file is validated fine by multiple validation libraries and online tools. 回答1: This was caused in my case by the CLASS property of my events being PRIVATE or CONFIDENTIAL . See RFC 2245, section

401 (Unauthorized) Error with DotNetOpenAuth and Google Calendar

我的梦境 提交于 2019-12-24 16:25:17
问题 I've been tinkering for a while now with getting the Google Calendar API working with DotNetOpenAuth. I've tried going about it in a few different ways, and I keep running up against the following error: The remote server returned an error: (401) Unauthorized. I've tried it both by using the CalendarService in the Google Data API for .NET, and by adapting the Google Contacts sample in the DotNetOpenAuth samples project. When I tried using the CalendarService, I set up my service for

Insert event to Google Calendar using php

泪湿孤枕 提交于 2019-12-24 16:14:19
问题 I'm trying to perform a cURL request to google calendar api using their guide, that says: POST https://www.googleapis.com/calendar/v3/calendars/{name_of_my_calendar}/events?sendNotifications=true&pp=1&key={YOUR_API_KEY} Content-Type: application/json Authorization: OAuth 1/SuypHO0rNsURWvMXQ559Mfm9Vbd4zWvVQ8UIR76nlJ0 X-JavaScript-User-Agent: Google APIs Explorer { "start": { "dateTime": "2012-06-03T10:00:00.000-07:00" }, "end": { "dateTime": "2012-06-03T10:20:00.000-07:00" }, "summary": "my

Google Calendar v3 Error “The requested minimum modification time lies too far in the past. [410]”

时光总嘲笑我的痴心妄想 提交于 2019-12-24 14:27:29
问题 We are using the Google Calendar v3 API to return a list of events for a user that have been updated since a point in time. In the v2 API there was no limitation on setting this date in the past. If we set the UpdatedMin to a date too far back (like 2 months) then the error is thrown "The requested minimum modification time lies too far in the past. [410]" If we set ShowDeleted to false then we do not get the error. I cannot find any reference to a limitation here. Does anybody know the

Reminders on shared calendar events don't propagate to the people accessing it

半腔热情 提交于 2019-12-24 14:26:09
问题 I created the events with the email remainder in the google calender and added guests to it to have them to receive the reminders also. But it sends the reminder to me only and not to the others. After I have searched for solution I have found a discussion here. In which I came to know that this feature is not available as of now. But so many peoples are asking the feature to be implement. Still no solutions from people in google. I hope google will support for this feature. I want to send

Time difference issue when adding a Google Calendar Event using C#

牧云@^-^@ 提交于 2019-12-24 14:01:16
问题 I am using "Google.GData.Calendar" API to add Events to the Google Calendar using c#. But there is time difference between the events created in my DB and Google Calendar. Following is the Code to add an Event to Google Calendar using the Google.GData API: public static void AddEventToGoogle() { //string timezone = "US Mountain Standard Time"; Uri postUri = new Uri("https://www.google.com/calendar/feeds/default/private/full"); try { GOAuthRequestFactory authFactory = new GOAuthRequestFactory(

Multiple Google Calendars, script to change calendars based on event name

半腔热情 提交于 2019-12-24 13:55:58
问题 I am trying to create a work around for Google not allowing anyone to add to a global calendar, so I started doing research and found eventbot, which allows me to add a meeting based on an email that I send. Here is what I imagine, but I don't know how to work it. I have two different global calendars Using a QR Code and that email address eventbot gave me, the code is scanned, the type in the needed subject line, and the event is created on my personal calendar. Here comes where I am in need

Where is the authorization information exactly stored?

限于喜欢 提交于 2019-12-24 12:34:58
问题 https://developers.google.com/google-apps/calendar/quickstart/php#step_1_enable_the_api_name Under the notes section of Google Calendar API it says that: "Authorization information is stored on the file system, so subsequent executions will not prompt for authorization." 回答1: The credentials file's location is specified in the CREDENTIALS_PATH variable. use the expandHomeDirectory function to get the exact location. $credentialsPath = expandHomeDirectory(CREDENTIALS_PATH); echo

Can non admin users get list of google calendar resources?

人盡茶涼 提交于 2019-12-24 11:23:44
问题 I understand that the list of rooms (google calendar resources) can only be accessed using the Calendar Resources API (https://developers.google.com/admin-sdk/calendar-resource/). But, it seems that domain admins credentials are needed to access it. Is there a way for non-admin users to get a list of all rooms using the API, similar to what they can get from the google calendar web UI by selecting 'add rooms'? 回答1: Looks like the calendar resource API does allow non-admin accounts to list the