注册一个新成就:(#3502)成就对象URL不是类型game.achievement [英] Registering a new achievement: (#3502) Object at achievement URL is not of type game.achievement

查看:104
本文介绍了注册一个新成就:(#3502)成就对象URL不是类型game.achievement的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的游戏添加一个新的成就,当我尝试在Graph API Explorer上测试这个,我得到以下错误:



(#3502)成就中的对象URL不属于game.achievement类型。



我已经跟着这篇文章(http://developers.facebook.com/blog/post / 539 /)来设置我的成就:

 < html xmlns =http://www.w3。 org / 1999 / xhtmlxmlns:og =http://ogp.me/ns#xmlns:fb =http://www.facebook.com/2008/fbml> 
< head>
< meta property =og:typecontent =game.achievement/>
< meta property =og:urlcontent =FULL URL OF ACH。PAGE/>
< meta property =og:titlecontent =TEST/>
< meta property =og:descriptioncontent =这是一个测试/>
< meta property =og:imagecontent =IMG URL />
< meta property =game:pointscontent =1/>
& meta property =fb:app_idcontent =APP_ID/>
< / head>
< body>
Yay!
< / body>
< / html>

在Graph API资源管理器中,我将方法设置为POST,添加以下字段:成就,显示顺序和访问令牌,但这只会产生上述错误
我怀疑我在成就URL中出现了错误,其中的时间设置为: http://mypage.com/index/test

解决方案

通过输入成就页面的链接来测试成就 here 。它会指出您有任何错误。一旦您的所有错误更正,Facebook是支持 reg当你再次尝试这个成就,尤其是从调试工具Linter来刷新Facebook的缓存。然而,截至目前,我已经不成功地让Facebook在已经失败之后认识到我已经取得的成就。所以,一旦我完成了Linter的完成和验证,我重命名我的成就文件(并更改og:url属性来匹配),然后再次提交注册。这对我来说已经有100%的时间了。


I'm trying to add a new achievement for my game, when ever I try and test this on the Graph API Explorer, I get the following error:

(#3502) Object at achievement URL is not of type game.achievement.

I have followed this post(http://developers.facebook.com/blog/post/539/) to set up my achievement as such:

    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#"    xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
    <meta property="og:type" content="game.achievement"/>
    <meta property="og:url" content="FULL URL OF ACH. PAGE"/>
    <meta property="og:title" content="TEST"/>
    <meta property="og:description" content="This is a test"/>
    <meta property="og:image" content="IMG URL/>
    <meta property="game:points" content="1"/>
    <meta property="fb:app_id" content="APP_ID"/>
   </head>
   <body>
     Yay!
   </body>
   </html>

On the Graph API explorer, I set the method to POST, and add the fields: achievement, display order and access token, but this just produces the error mentioned above. I suspect I'm doing something wrong with the Achievement URL, which at the minute is set to something like: http://mypage.com/index/test.

解决方案

Test your achievement by entering the link to the achievement page here. It'll point out any errors that you have. Once you have all errors corrected, Facebook is SUPPOSED to register the achievement when you try again, especially since the debug tool, Linter, refreshes Facebook's cache. However, as of right now, I've been unsuccessful at getting Facebook to recognize my corrected achievement after it has already failed it. So, once I have my achievement perfect and verified by Linter, I rename my achievement file (and change the og:url property to match) then submit the registration again. This has worked 100% of the time for me.

这篇关于注册一个新成就:(#3502)成就对象URL不是类型game.achievement的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆