Facebook点赞框无法使用。

3
我正在尝试在我的网站中集成一个“赞”框。但它无法正常工作,所以我创建了一个示例页面(同样也不起作用)。
<!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 我该如何解决这个问题?
提前致谢。
1个回答

3

看起来代码中存在一个bug。如果你在他们生成的URL中把"profile_id"替换成"id",它应该可以正常工作。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接