开发者

Configuring tab with specific URL within Facebook Fan Page using app_data

The F开发者_运维技巧acebook API docs say the parameter, "app_data," should be used to customize tabs within a Facebook Fan Page.

However, when users add our tab to their page, the "app_data" param gets lost every time, meaning the tabs aren't customized per Fan Page as they should be.

For instance, we want this page to get rendered for one client: http://www.facebook.com/apps/application.php?id=198939416792674&sk=app_198939416792674&app_data=15

After the client adds this URL as a tab to his Fan Page, though, the tab URL loses the "app_data" parameter. The page rendered no longer reflects the data specific to this client.

We need the tabs to contain a parameter specific to each Fan Page. We thought "app_data" was the right approach.

Any clues what we're doing wrong?


The best way to do what you trying to achieve is to customise the content based on the page['id'] that is passed to you via a signed request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜