使用API​​ v3将多个用户与其自己的Google日历同步 [英] Sync several users with their own Google Calendar using API v3

查看:108
本文介绍了使用API​​ v3将多个用户与其自己的Google日历同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司有一个带有自己日历的Web应用程序,我们使用了 Google Calendar API v1 (Zend_GData)同步数据。每个用户都同步两个日历而没有问题。我们要开始使用Google Calendar API v3。



问题是下一个问题,如何使用 Google Calendar API将所有用户与其自己的Google日历同步? v3 ?我读过的所有示例都要求每个用户都在Google Cloud Console中注册。



谢谢,我想为我的问题提供一些指南。

解决方案

您的应用程序必须在Google Cloud Console中注册,您的用户必须使用其Google帐户登录,并允许您的应用程序使用日历资源。 / p>

以下为参考 https:// developers。 google.com/accounts/docs/OAuth2WebServer



另一种选择是使用每个日历具有的私有XML或iCAL提要。您可以在日历配置中找到它。


My company have a web app with its own calendar and we used Google Calendar API v1 (Zend_GData) for sync the data. Each user had both calendars synchronized without problems. We want start to use Google Calendar API v3.

The problem is the next one, how could sync all the users with their own google calendar using Google Calendar API v3? All the examples I've read require each user registers in Google Cloud Console .

I would like some guide for my problem, thanks.

解决方案

Just your application will have to register in Google Cloud Console, your users will have to login with their Google accounts and allow your app to use the calendar resources.

Here's a reference https://developers.google.com/accounts/docs/OAuth2WebServer

Another option is to use the private XML or iCAL feed that each calendar has. You can find it on the calendar configurations.

这篇关于使用API​​ v3将多个用户与其自己的Google日历同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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