错误信息:
来自一个或多个日历的事件无法在此处显示,因为您无权查看它们。
这是日历列表视图。
Google_CalendarList Object
(
[etag] => "desdHpkENZGECFHdcr5l8tYxjD4/fKIw12Ok_GJADVcrYRFYIkCE_BQ"
[__itemsType:protected] => Google_CalendarListEntry
[__itemsDataType:protected] => array
[items] => Array
(
[0] => Google_CalendarListEntry Object
(
[accessRole] => owner
[backgroundColor] => #b99aff
[colorId] => 18
[__defaultRemindersType:protected] => Google_EventReminder
[__defaultRemindersDataType:protected] => array
[defaultReminders] =>
[description] => This is the default calendar
[etag] => "desrHpkENZdesrdcr5l8tYxjD4/lllbKwjH1h1w2pZmsMuWm2OZ3No"
[foregroundColor] => #000000
[hidden] => false
[id] => dfredrescr43fgp5ir02hg2ubc@group.calendar.google.com
[kind] => calendar#calendarListEntry
[location] =>
[primary] =>
[selected] => 1
[summary] => This is summary
[summaryOverride] =>
[timeZone] => America/Los_Angeles
)
)
[kind] => calendar#calendarList
[nextPageToken] =>
)
想知道为什么日历被授予所有者权限后,我无法在 iframe 上加载此日历事件?
iframe 代码:
<iframe src="https://www.google.com/calendar/embed?title=Calendar%20Of%20Events&showNav=0&showPrint=0&showTabs=0&showTz=0&mode=AGENDA&height=550&wkst=1&bgcolor=%23f9f9f9&src=fded3gtscr34de5rr02hg2ubc%40group.calendar。 google.com&color=%232F6309&ctz=America%2FLos_Angeles" style="border-width:0" width="250" height="550" frameborder="0" scrolling="no"></iframe>