【发布时间】:2013-05-13 22:32:49
【问题描述】:
我正在使用 Google 的新游戏服务测试我的游戏,我想重置我帐户的成就以进行测试。
我发现您可以使用 google 的 API (https://developers.google.com/games/services/management/api/#Achievements) 重置成就,并且我正在使用 OAuth 2.0 Playground 发送 POST 请求,但它不起作用:(
具体来说,我正在发送“https://www.googleapis.com/games/v1management/achievements/reset”的 POST 请求,详见该链接。
而且,当我访问 code.google com 并检查我的服务时,所有 Play 服务都处于“开启”状态。
这是输出。如何重置我的成就以进行测试?我什至接近吗?显然我的“未配置访问权限”我该怎么做?如果不授予我访问权限,那么 OAuth2.0 操场的前两个步骤的意义何在?
HTTP/1.1 403 Forbidden
Content-length: 205
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-google-cache-control: remote-fetch
-content-encoding: gzip
Server: GSE
Reason: Forbidden
Via: HTTP/1.1 GWA
Cache-control: private, max-age=0
Date: Sun, 19 May 2013 04:11:38 GMT
X-frame-options: SAMEORIGIN
Content-type: application/json; charset=UTF-8
Expires: Sun, 19 May 2013 04:11:38 GMT
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
【问题讨论】:
标签: google-play-services google-play-games achievements oauth2-playground