2010-04-28 129 views
3

我正在嘗試在我的網站中整合Like框。它沒有工作,所以我創建了一個示例頁面(這也不起作用)。Facebook Like Box無法正常工作

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>FB TEST</title> 
</head> 

<body> 
    <iframe src="http://www.facebook.com/plugins/likebox.php?profile_id=185550966885&amp;width=292&amp;connections=5&amp;stream=false&amp;header=true" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:292px; height:px"></iframe> 
</body> 
</html> 

我還使用了樣品,iframe代碼(我沒有工作,所以我想這一點),摘自: http://developers.facebook.com/docs/reference/plugins/like-box

樣本頁面是在這裏:

http://www.plugb.com/fb-test.php

我該如何解決這個問題?

在此先感謝。

回答

3

他們生成的代碼中似乎存在一個錯誤。如果您在生成的URL中將「profile_id」替換爲「id」,它應該可以工作。