fullcalendar google 集成返回 403 错误?

标签 fullcalendar

尝试使用 fullcalendar 检索 google 公共(public)日历提要时遇到 403 禁止错误。我注意到 fullcalendar 的演示中也存在这个问题,这是来自谷歌的变化吗?

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

最佳答案

Google 已弃用并关闭 Calendar API v1 和 v2。 “公共(public)/完整” URL 不再可用。

FullCalendar 正在更新以支持 API v3。发布后,您将能够使用 v3 样式的 URL。首先在 Google Developer Console (https://console.developers.google.com) 中创建一个 API key 。然后在 FullCalendar 中使用以下 URL,替换您的日历 ID 和 API key :

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

开发者在 issue 中评论说,更改应该在明天(11 月 19 日)发布。您可以在此问题中找到更多详细信息并跟踪进度:

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

关于fullcalendar google 集成返回 403 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26981661/

相关文章:

javascript - 使用 FullCalendar 在一天内自定义 HTML?

javascript - 全日历 : calender not display

Javascript Fullcalendar - 复制事件

javascript - fullcalendar 如何将 titleFormat 设置为 m/d/yyyy - m/d/yyyy

fullcalendar - Simple FullCalendar 不会在 FireFox 3.6.13 中呈现事件

javascript - 比较日期时,全日历中的 DayClick 事件警报

jquery - fullCalendar jquery 用户 ID

pdf-generation - FullCalendar 可以打印为 PDF 吗?

javascript - (Fullcalendar 4 VueJs)columnHeaderHtml - 如何显示(dayName,dayNumber),例如(周一,8),(周二,9)等

angular - ng-fullcalendar 标题在 Angular 5 中未定义未定义