2010-04-02 37 views
1

我有一個iframe應用程序,它工作正常,並在Facebook中呈現fbml。但是整個應用程序是使用ajax調用來加載大塊頁面的。其中有幾個具有< fb:加載時未呈現的標記。我嘗試了下面的代碼,然後將它加載到我的索引頁中的div中,但它完全不顯示任何內容,沒有html,沒有fb渲染,沒有任何內容。有人能告訴我我錯過了什麼嗎?非常感謝!!Facebook dev - 通過Ajax將fbml和html代碼加載到iFrame中的div

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> 
<fb:serverfbml style="width: 600px;"> 
<script type="text/fbml"> 
<fb:fbml> 

<!-- all of my html and my php and my fb tags go in here, for example: --> 
<fb:name uid="my_real_user_id" useyou=\"false\"></fb:name> 

</fb:fbml> 
</script> 
</fb:serverfbml> 

我希望我的問題很清楚。如果沒有,請讓我知道我會更詳細地解釋! :P

回答

相關問題