fullcalendar谷歌整合返回403错误? [英] fullcalendar google integration returns a 403 error?
问题描述
我在尝试使用fullcalendar检索Google公共日历Feed时遇到403禁止的错误。我注意到fullcalendar的演示中也存在这个问题,这是从谷歌的一个变化?
http://fullcalendar.io/js/fullcalendar-2.2.0/demos/gcal.html
Google已弃用并关闭了Calendar API v1和v2。 公开/完整网址不再可用。
FullCalendar正在更新以支持API v3。一旦发布,您将可以使用v3样式的网址。首先在Google Developer Console中创建一个API密钥( https://console.developers.google.com )。然后在FullCalendar中使用以下代码来代替日历ID和API密钥:
https://www.googleapis。 com / calendar / v3 / calendars / {YOUR_CALENDAR_ID} / events?key = {YOUR_API_KEY}
在这个问题上评论说,这些改变应该在明天(11月19日)发布。您可以找到更多详细信息并跟踪此问题的进展情况:
https://code.google.com/p/fullcalendar/issues/detail?id=1526&colspec=ID
Type状态里程碑摘要星级
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
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:
这篇关于fullcalendar谷歌整合返回403错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!