1

我为我的应用程序注册了一项成就,其中 'url' 参数设置为 smth like

http://app-canvas-url.com/facebook_achievements/123.html

当为用户发布成就时,会显示相应的通知“{user name} 在 {app name} 中实现了 {achievement title}”。单击此通知会显示一个更大的弹出窗口,其中包含指向上面显示的 url 的成就链接。

没关系。但是ticker也有块说“{user name}在{app name}获得了4个成就中的1个”。单击此块会显示弹出窗口,其中包含应用程序中所有可用成就的列表。问题是这个弹出窗口中的链接出于某种原因指向像这样的网址

http://apps.facebook.com/app-canvas-name/facebook_achievements/123.html

看起来它不是直接指向成就的 url,而是在应用的画布页面 url 前面加上成就的相对路径。

有没有人遇到过类似的问题?这是预期的行为吗?我没有找到任何关于股票代码中使用哪些网址的信息,所以如果您在文档中看到任何相关信息,请分享链接。

4

2 回答 2

1

在我遇到同样的问题之前。今天早上我解决了这个问题。我所做的是将发送到 Facebook 的成就 URL 的 http 更改为 https。例如,将 http://app-canvas-url.com/facebook_achievements/123.html更改 为 https://app-canvas-url.com/facebook_achievements/123.html

于 2011-12-09T05:47:21.900 回答
0

You must have to create the separate pages for all the different types of achievements (ideal. You can also create only one page for all your achievements.).

Once you create those pages, you must have to enter the value for url in that page.

Type the correct url for that achievement.

Then go to the debugger tool

http://developers.facebook.com/tools/debug

Enter that url and check whether you are having any errors or not. If any errors please solve that and if not then just go to the bottom of the page.

You'll find one link as "Graph API:". Click on that and will open the complete data for your achievement url.

Once done successfully, try to reload your application and check for all the urls for all the achievements.

Thanks!

于 2011-12-24T12:37:35.790 回答