Facebook 应用:让登陆页面重定向到一个 URL? [英] Facebook App: Make the landing page redirect to a URL?
问题描述
是否可以制作着陆页(我对着陆页的理解是:用户在查看 FB 应用程序时首先看到的页面,或者在他们接受应用程序邀请后重定向到的页面,对吗?)重定向到我选择的某个 URL?就像 mysite.com/User/Register
...那样可行还是 Facebook 不允许这样做?
Is it possible to make the landing page (what I understand by landing page: the page the user first sees when they view the FB app or the page they get redirected to after they accepted an invitation to the app, right?) redirect to some URL of my choosing? Like mysite.com/User/Register
... would that work or does Facebook not allow that?
推荐答案
您应该能够将登录页面配置为您想要的任何内容.但是,如果这不是一个选项(也许您想将其跟踪为对该页面的点击或其他内容),您可以随时在 iFrame 应用程序中使用 top.location.href
或 进行重定向>
在 FBML 中.
You should be able to configure the landing page to be whatever you want it to be. But if that's not an option (maybe you want to track it as a hit to that page or something) you can always redirect whenever you want using top.location.href
in an iFrame app, or <fb:redirect url="" />
in FBML.
这篇关于Facebook 应用:让登陆页面重定向到一个 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!