1

我一直未能注册任何成就。我不断收到以下:无法注册成就

{"error":{"message":"(#3502) Object at achievement URL is not of type game.achievement","type":"OAuthException","code":3502}} 

当我通过棉短绒运行我的网址,我得到:

Open Graph Warnings That Should Be Fixed 

Inferred Property: The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags. 
Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags. 

虽然当我加载URL我自己,我清楚地看到那些在meta标签设置。我的HTML看起来像:

<html> 
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# game: http://ogp.me/ns/game#"> 
    <meta property="fb:app_id"  content="<MY_APP_ID>" /> 
    <meta property="og:type"  content="game.achievement" /> 
    <meta property="og:url"   content="http://<MY_DOMAIN>/ach10.html" /> 
    <meta property="og:title"  content="Title" /> 
    <meta property="og:description" content="Description" /> 
    <meta property="og:image"  content="http://placekitten.com/g/200/300" /> 
</head> 
<body> 
Hmm.. 
</body> 
</html> 

也很有趣,是图形API将其视为:

{ 
    "url": "http://<MY_DOMAIN>/ach10.html", 
    "type": "website", 
    "title": "http://<MY_DOMAIN>/ach10.html", 
    "updated_time": "2012-03-09T19:49:14+0000", 
    "id": "<ID>" 
} 

刮下URL返回什么......人有什么想法?我也尝试在Open Graph设置中添加Game Achievement对象,并启用和禁用沙盒模式/社交发现的每个组合。

+0

看看Facebook的履带式肯定是看到你的想法是: '卷曲-A“facebookexternalhit/1.1” -i $ URL_GOES_HERE'适用于我 - 这类问题最常见的原因是基于浏览器检测或登录的重定向或指向另一个地址的url:url标签 – Igy 2012-03-10 14:57:33

+0

@Igy,我给了它一个镜头,并且我看到了该文件。回来了200和所有的元标签设置。很令人沮丧的问题。 – abe 2012-03-12 19:43:22

回答

1

你必须包括游戏:分meta标签来完成你的game.achievement