我正在使用 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 游戏应用,进入设置,然后选择“删除 Play 游戏数据”,向下滚动,然后从游戏中删除数据。
关于google-play-services - 如何从 Google 游戏服务重置成就?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16631365/