IE8中类似Facebook的按钮问题
我从FB开发者网站上直接获得了HTML页面上类似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
<!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.