Facebook的喜欢按钮不会出现 [英] Facebook like button doesn't appear

查看:141
本文介绍了Facebook的喜欢按钮不会出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

像按钮我的Facebook不会出现在Firefox,Chrome和IE浏览器!
我试过 3 code选项的Facebook 给你生成按钮,但没有!

下面是code:

 < HTML和GT;
< HEAD>
< META HTTP-EQUIV =Content-Type的CONTENT =text / html的;字符集= UTF-8/>
<标题>无标题文档< /标题>
< /头><身体GT;
< IFRAME src=\"//www.facebook.com/plugins/like.php?href=http%3A%2F%2F3eesho.com%2Fmagazine%2Findex.html&send=false&layout=standard&width=450&show_faces=true&action=like&colorscheme=light&font&height=80\" SCROLLING =NOFRAMEBORDER =0的风格=边界:无;溢出:隐藏;宽度:450像素,高度:80px; ALLOWTRANSPARENCY =真正的>< / IFRAME>< /身体GT;
< / HTML>


解决方案

 < IFRAME SRC =// www.facebook.com/plugins/like.php ....

更改为:

 < IFRAME SRC =HTTP://www.facebook.com/plugins/like.php ......?
要么
< IFRAME SRC =HTTPS://www.facebook.com/plugins/like.php ......?

和它的作品完美...

可能与不同的浏览器猜测协议的方式做。

My facebook like button doesn't appear in Firefox, Chrome and IE !! I tried the 3 code options that facebook gives you to generate the button, but nothing!

Here is the code:

<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2F3eesho.com%2Fmagazine%2Findex.html&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

</body>
</html>

解决方案

<iframe src="//www.facebook.com/plugins/like.php?....

change to :

<iframe src="http://www.facebook.com/plugins/like.php?...
OR
<iframe src="https://www.facebook.com/plugins/like.php?...

and it works perfectly...

Might have to do with the way the different browsers guesses the protocol.

这篇关于Facebook的喜欢按钮不会出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆