Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fullcalendar google integration returns a 403 error?

Tags:

fullcalendar

I'm experiencing a 403 forbidden error when trying to retrieve a google public calendar feed using fullcalendar. I notice the problem also exists on fullcalendar's demo is this a change from google?

http://fullcalendar.io/js/fullcalendar-2.2.0/demos/gcal.html

like image 771
Richard Avatar asked Nov 17 '14 20:11

Richard


1 Answers

Google has deprecated and shut down Calendar API v1 and v2. The "public/full" URL is no longer available.

FullCalendar is being updated to support API v3. Once released you will be able to use a v3 style URL. First create an API key in Google Developer Console (https://console.developers.google.com). Then use the following for the URL in FullCalendar, substituting your calendar ID and API Key:

https://www.googleapis.com/calendar/v3/calendars/{YOUR_CALENDAR_ID}/events?key={YOUR_API_KEY}

The developer commented in the issue that the changes should be released tomorrow (Nov 19th). You can find more details and track the progress in this issue:

https://code.google.com/p/fullcalendar/issues/detail?id=1526&colspec=ID Type Status Milestone Summary Stars

like image 132
Jeremy Avatar answered Nov 17 '22 01:11

Jeremy