Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IE8中类似Facebook的按钮问题_Facebook_Facebook Like - Fatal编程技术网

IE8中类似Facebook的按钮问题

IE8中类似Facebook的按钮问题,facebook,facebook-like,Facebook,Facebook Like,我从FB开发者网站上直接获得了HTML页面上类似Facebook的按钮的代码: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> <t

我从FB开发者网站上直接获得了HTML页面上类似Facebook的按钮的代码:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title>FB Like button test</title>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<fb:like href="http://developers.facebook.com/docs/reference/plugins/like" send="false" layout="button_count" width="90" show_faces="true"></fb:like>
</body>
</html>

发生了什么事?

两个猜测:1)你没有登录,或者2)以防万一将来有人访问此页面:这是Facebook的一个漏洞。现在已经修好了。
{Like} <[1.5m]
{Like} Be the first of your friends to like this.