facebook重定向应用程序从画布页到粉丝页 [英] facebook redirect app from canvas page to fan page

查看:213
本文介绍了facebook重定向应用程序从画布页到粉丝页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在粉丝专页中建立Facebook应用程式为iframe应用程式。我现在的问题是下一步:我添加了Facebook请求对话框(http://developers.facebook.com/docs/reference/dialogs/requests),一切顺利,除了一件事:当用户收到通知,链接

im building facebook app as a iframe app in fan page. My problem at the moment is next: i added facebook request dialog (http://developers.facebook.com/docs/reference/dialogs/requests), and everything goes well except for one thing: when a user gets notification, the links goes to canvas page, not to fan page (where i would like to go...)

因为我不能说服Facebook添加一些功能(这将是巨大的) ,im寻找一种方法来自动从应用程序画布页面重定向到粉丝页面,其中这个应用程序作为iframe选项卡添加。

Since i cant convince facebook to add some funcionality (that would be great), im looking for a way to automaticly redirect from app canvas page to fan page, where this app is added as iframe tab.

我希望有人能理解我想做什么...:)

I hope somebody understands what i want to do... :)

感谢,Peter

推荐答案

正确理解您可以这样做:

If I understand you correctly, you can do this:

top.location.href='http://www.facebook.com/YOUR_PAGE_NAME?sk=app_YOUR_APP_ID'

,或者您可以使用标题重新导向到那个网址。这将重新导向至您的粉丝专页上的应用程式分页。

or you can use a header to redirect to that url. This will redirect to the application's tab on your fan page.

这篇关于facebook重定向应用程序从画布页到粉丝页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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