如何重定向到Facebook应用程序中的另一个页面?
答
document.setLocation('url');
答
如果你正在使用FBJS那么它的document.setLocation('http://example.com');
如果您使用的是iframe应用程序,然后用JavaScript是window.top.location.href = 'http://example.com';
和一个锚标记:
<a href="http://example.com" target="_top">Link text</a>
如果您不关心浏览器地址栏更改,并且只有iframe被重定向然后你可以使用标准链接和JavaScript。