[英]How do I get access to user's google calendar feed
I want to insert certain items into my user's google calendar. 我想将某些项目插入用户的Google日历中。 I have been looking at this client library for GData:
我一直在寻找GData的客户端库:
https://developers.google.com/gdata/client-cs https://developers.google.com/gdata/client-cs
However, it requires me to pass username(email) and password. 但是,它要求我传递用户名(电子邮件)和密码。 I don't want my users to type in their email and password in my application and I store them in my database.
我不希望用户在应用程序中输入他们的电子邮件和密码,而是将它们存储在数据库中。 It is very risky business.
这是非常冒险的业务。 Is there any other way where Google would provide me token and I store the token in database for future access?
Google是否有其他方法可以向我提供令牌并将令牌存储在数据库中以供将来访问? Much like what the Facebook does?
就像Facebook一样吗?
是的,请使用Google Calendar API v2并阅读有关使用Google Calendar Service进行身份验证的部分,该部分在其上调用端点以及如何调用它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.