嗨,當你看看你的網頁的查看源我看到這個:
<fb:comments
xid="http://www.roomfor5.co.uk-<?=str_replace('/','-',$_SERVER['REQUEST_URI']);?>"
num_posts="2"
width="600"
publish="true" >
</fb:comments>
所以fb:comments標籤沒有完全呈現出來。
同樣在渲染的頁面上,它說你沒有指定url。雖然有一個格式錯誤的xid =屬性,你應該有一個url =屬性。見https://developers.facebook.com/docs/reference/plugins/comments/
Warning: this comments plugin is operating in
compatibility mode, but has no posts yet.
Consider specifying an explicit 'href' as
suggested in the comments plugin documentation
to take advantage of all plugin features.
編輯: 爲http://www.roomfor5.co.uk/item/6726,你有
<div
class="fb-comments"
data-href="http://www.roomfor5.co.uk"
data-num-posts="5"
data-width="600">
</div>
的數據href屬性應該是http://www.roomfor5.co.uk/item/6726
不http://www.roomfor5.co.uk
我不確定它爲什麼剪下了我放入的代碼,但它看起來並不像我寫它時那樣:/ – user1121660 2011-12-29 17:57:45