本文介绍了有没有一个API来获取Chrome扩展用户的谷歌帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<一个href=\"http://www.google.com/support/chrome_webstore/bin/answer.py?hl=en&answer=1053369&topic=1212392\"相对=nofollow> Chrome网上应用店帮助页说,要安装你需要一个谷歌帐户的应用程序或扩展。有没有谁访问安装扩展的用户电子邮件的API?我需要这些信息保存在用户的名字书签,谷歌应用程序引擎。任何建议如何可以做到这一点是值得欢迎的。 This是我的previous问题。谢谢你。

Chrome web store help page says that to install an app or an extension you need a Google Account. Is there an API to access the user email who installed the extension? I need this information to save the bookmarks to Google App Engine under user's name. Any suggestions how this can be done is welcome. This is my previous question. Thanks.

推荐答案

您可以使用的的时候,他安装在您的扩展验证与谷歌的用户。这会给你可以作为用户的唯一标识符使用的URL。

You could use one of the Google Accounts APIs to authenticate the user with Google when he installs your extension. This will give you a URL you can use as a unique identifier for the user.

我怀疑铬会泄露用户的电子邮件地址,而不需要许可警告,因为的不包含与用户的谷歌帐户的任何警告的名单,我假设它只是无法得到用户的谷歌帐户名。

I doubt Chrome would divulge the user's email address without a permission warning, and since the list of warnings doesn't contain anything related to the user's Google account, I'm assuming it just isn't possible to get the user's Google account name.

这篇关于有没有一个API来获取Chrome扩展用户的谷歌帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 01:25
查看更多