Tuesday, 2 May 2017

Showing/Hiding a read-only calendar with Google Calendar API

Each calendar in the GCal API has a selected attribute that represents whether it is toggled in Google Calendar (i.e. shown or hidden in the calendar UI). I want to allow users to toggle this selected attribute from my application, but I noticed that using the calendarList update method only works for calendars that users have write access to. That is, I'm getting a 401 error when I try to update the selected attribute for the read-only holidays calendar, for example. What's the preferred way to do this?



via pdorns

No comments:

Post a Comment