English 中文(简体)
登记一项新的成就:(#3502) 成就目标不是类型游戏。
原标题:Registering a new achievement: (#3502) Object at achievement URL is not of type game.achievement

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号) 成就目标不是类型游戏。

我担任这一职务(http://developers.facebook.com/blog/post/539/)。 确定我的成就:

    <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.

最佳回答

http://developers.facebook.com/tools/debug”rel=“nofollow”here。 它指出了你的任何错误。 一旦所有错误得到纠正,Facebook就是SUPPOSED<>m>,在你再次尝试时登记成绩,特别是因为解冻工具Linter更新Facebook的切身。 然而,从现在起,我在“Facebook”在失败后承认我更正的成绩,却未能成功。 因此,一旦我取得了完美的成就,并经过Linter的核查,我就重新命名了我的成就档案(并改变了单体:url财产,使之符合要求)。 这为我工作了100%的时间。

问题回答

在就当地问题开展工作时,我也有同样的问题。 我将网页上移到一个网站,用URL Linter和公正的工作罚款加以核实。 与URL Linter有关的问题是,它不与当地的URLs合作。

更容易在Facebook本身主办成就,而不是在3个政党服务器上主办。 遵循以下指示:here,以了解目标APIC。 如果你只向海事组织提供移动设备,它就会失去太多的通道。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...