点赞按钮确认反
我的“喜欢”按钮需要先确认,然后用户才能喜欢某个页面。我在一个正在开发的网站上做了几次测试。这导致我的网站被列入“Facebook 黑名单”。
我想知道为什么我的柜台被隐藏了? 点击劫持保护是否删除了“赞”按钮上的计数器?
网址问题:
- www.codeculture.tv/annette-tricot-machine/
- www.codeculture.tv/east-road-au-sacrilege/
- http://codeculture.tv/sam-eloi-mievreries/
- http://codeculture.tv/sepsis-plein-de-vie-2/
(**抱歉,我无法发布超过 2 个链接)
我的代码
<script type="text/javascript" src="https://connect.facebook.net/fr_FR/all.js#xfbml=1"></script>
<fb:like class="facebook-share-button" href="<?php the_permalink(); ?>" layout="button_count" show_faces="true" width="200" font=""></fb:like>
My like button need a confirmation before the user can like a page. I have made several tests on a website under development. This causes my website to be on the «facebook blacklist».
I want to know why my counter is hidden?
Did the clickjacking protection remove the counter on the Like button?
Url problem:
- www.codeculture.tv/annette-tricot-machine/
- www.codeculture.tv/east-road-au-sacrilege/
- http://codeculture.tv/sam-eloi-mievreries/
- http://codeculture.tv/sepsis-plein-de-vie-2/
(**Sorry I can't post more than 2 links)
My code
<script type="text/javascript" src="https://connect.facebook.net/fr_FR/all.js#xfbml=1"></script>
<fb:like class="facebook-share-button" href="<?php the_permalink(); ?>" layout="button_count" show_faces="true" width="200" font=""></fb:like>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我去了 http://developers.facebook.com /tools/debug/og/object?q=www.codeculture.tv 看来 Facebook 正在很好地抓取 URL。
我还去了 http://graph.facebook.com/http://www .codeculture.tv,我看到该域名有 16 个点赞。我没有看到任何异常情况。
但是当我查看你页面的源代码时我得到了
<像 class="facebook-share-button" href="http://codeculture.tv/annette-tricot-machine/" 布局="button_count" show_faces="true" width="200" font= "">
请注意,它不是 fb:like
我还看到:
但没有提及 fb
您可能希望将类似代码更改为 HTML5 版本,而不是XFBML 版本。
I went to, http://developers.facebook.com/tools/debug/og/object?q=www.codeculture.tv and it appears Facebook is scraping the URL fine.
I also went to http://graph.facebook.com/http://www.codeculture.tv and I see 16 likes for the domain. I'm not seeing anything out of the ordinary.
But when I view source of your page I get
<like class="facebook-share-button" href="http://codeculture.tv/annette-tricot-machine/" layout="button_count" show_faces="true" width="200" font=""></like>
Notice that it is no fb:like
I also see:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
but no mention of the fb
You may want to change your like code to the HTML5 version rather than the XFBML version.