請求的形式這是我的代碼FB:顯示空白頁
<fb:serverFbml style="width: 760px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="http://apps.facebook.com/MyAPP/invite.php"
target="_top"
method="POST"
invite="true"
type="Invite Form"
content="<fb:req-choice url='http://www.example.com/folder/index.php' label='Accept' />"
>
,如果我有行動=「http://www.example.com/folder/invite.php」則帖子的朋友陣列邀請在invite.php頁面,但它需要用戶在facebook界面以外。 如果我有行動=「http://apps.facebook.com/MyAPP/invite.php」,那麼它停留在Facebook的界面,但加載一個空白頁invite.php。
任何想法如何解決這個問題?
您是否嘗試過使用相對路徑,而不是完整的URL? EG如果你已經在你的應用程序的'http:// apps.facebook.com/MyAPP /',試着只用'invite.php'作爲URL – Luke
很好地嘗試過,但後來我得到錯誤,說「serverfbml」操作'屬性必須在應用程序的連接URL「:( – theniks
該死的我搜索並嘗試了幾件事情,但:(沒有使用。任何人有任何更新? – theniks