简体   繁体   English

Facebook App URL问题

[英]Facebook App URL Issue

I have an FBML app and a strange thing keeps happening. 我有一个FBML应用程序,奇怪的事情不断发生。

If I go to http://apps.facebook.com/ myapp/page2.php 如果我转到http://apps.facebook.com/ myapp / page2.php

I just get redirected to http://apps.facebook.com/ myapp/index.php 我只是重定向到http://apps.facebook.com/ myapp / index.php

It always goes back to index.php even though I specified page2.php and it is in the URL. 即使我指定了page2.php并且它在URL中,它也总是返回index.php。 This doesn't happen to my iframe apps. 我的iframe应用程序不会发生这种情况。

Does anybody know why it's behaving this way? 有人知道为什么它会这样吗?

htaccess重写

Seems like making the canvas callback URL http://WWW.example.com rather than just http://example.com fixed the problem. 似乎使画布回调URL为http://WWW.example.com而不只是http://example.com即可解决了该问题。

But why??? 但为什么???

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM