如何列出无需用户身份验证谷歌日历事件 [英] How to list Google Calendar Events without User Authentication

查看:310
本文介绍了如何列出无需用户身份验证谷歌日历事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在2014年11月17日谷歌德precated v1和v2使用Zend Framework的谷歌日历的API。

On November 17, 2014 Google deprecated v1 and v2 of its Google Calendar API using the Zend Framework.

这似乎列表上的公开共享谷歌日历公开共享事件唯一方法是通过从GitHub使用OAuth 2.0中新的谷歌客户端库API

It seems the only way to list publicly shared events on a publicly shared Google Calendar is through the new Google Client Library API from GitHub using OAuth 2.0

这意味着游客到一个公共网站,用于显示公共事件现在必须进行身份验证和登录。

This means visitors to a public website that used to display public events now have to authenticate and login.

是这样吗?难道就没有别的办法继续显示市民的谷歌日历事件?

Is that true? Is there no other way to continue to show public Google Calendar events?

推荐答案

您需要做的是使用的这个服务帐户。然后,您就可以添加服务帐户的电子邮件地址为用户以日历为您的网站。然后,服务帐户将能够访问这个日历包括事件

What you need to do is use a Service account for this. You will then be able add the service accounts email address as a user to the calendar for your website. The Service account will then be able to access this calendar including the events

这篇关于如何列出无需用户身份验证谷歌日历事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆