2010-04-28 132 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”,它应该可以工作。