[英]Retrieve Google Calendar owner's email address
Is it possible, with the Google Calendar API / Zend Gdata, to get the user's google email address, after he successfully authenticated with AuthSub and I have an access token? 在用户成功通过AuthSub进行身份验证并且我拥有访问令牌之后,是否可以使用Google Calendar API / Zend Gdata获取用户的Google电子邮件地址?
I have a problem with some users having multiple Gmail and Google Apps accounts, and then not remembering which one they've used to Sync with my service and having the impression that the sync doesn't work. 我遇到了一些用户有多个Gmail和Google Apps帐户的问题,然后又不记得他们曾经使用哪个帐户与我的服务进行同步,并给人留下了同步无法正常工作的印象。 I'd like to display them the Google Account they have first authenticated with. 我想向他们显示他们首先通过身份验证的Google帐户。
Have you tried the experimental settings API ? 您是否尝试过实验设置API ? It looks like it returns the user's name and email address in the author section. 看起来它返回了作者部分中的用户名和电子邮件地址。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.