【发布时间】:2013-05-04 00:11:59
【问题描述】:
我已经设置了 oauth 并且正在正确检索访问令牌。
这是我点击后得到的回应
https://www.google.com/accounts/AuthSubTokenInfo?access_token=<token>
parsed_response="Target=645428735890.apps.googleusercontent.com\nSecure=false\nScope=https://www.googleapis.com/auth/userinfo.profile\nScope2=https://www.googleapis.com/auth/userinfo.email\nScope3=https://www.googleapis.com/auth/glass.timeline\nScope4=https://www.googleapis.com/auth/glass.location\n"
我认为正确地表明我请求了正确的权限。
来电
https://www.googleapis.com/mirror/v1/timeline?access_token=<token>
产量:
"errors"=>[{"domain"=>"usageLimits", "reason"=>"accessNotConfigured", "message"=>"Access Not Configured"}]
很难弄清楚这意味着什么。我没有真正的玻璃硬件。文档看起来好像这个访问令牌允许我向镜像 api 发出任何请求。
是否有我错过的其他设置或权限要求?在应用程序方面?这是否与我的 Google 帐户有关且未设置 Glass?
编辑:
好的,来自授权文档:
Select the Services tab in your API project, and enable the Google Mirror API.
但是,我没有在服务选项卡上看到 Google Mirror API?
【问题讨论】: