【问题标题】:I'm really confused about Chrome Extension+Google API我对 Chrome Extension+Google API 真的很困惑
【发布时间】:2012-04-14 20:25:12
【问题描述】:
我真的很困惑。我想做一个可以更新用户谷歌日历的 Chrome 扩展程序,我应该在谷歌 API 下注册什么样的程序?
它是网络应用程序吗?但我不打算使用服务器来托管任何东西,因为 Chrome 扩展程序就在浏览器本身中。
我真的不认为这是一个服务帐户,但如果是,请有人赐教!
这样就剩下安装的应用程序了?
【问题讨论】:
标签:
google-chrome-extension
google-api
google-calendar-api
google-api-java-client
【解决方案1】:
嗯,Google Extensions 和 Google API 在本质上是非常不同的,它们没有特殊的通信方式。
Chrome 扩展是 Chrome 用户允许在浏览器中运行的 javascript 代码,具有比普通页面更多的权限;而 Google API 由服务器代码访问,就像 Google Apps 脚本(在 Google 服务器上运行的 JavaScript 代码,具有某些 Google 用户的权限)。