点赞按钮确认反

发布于 2024-12-28 07:06:46 字数 895 浏览 5 评论 0原文

我的“喜欢”按钮需要先确认,然后用户才能喜欢某个页面。我在一个正在开发的网站上做了几次测试。这导致我的网站被列入“Facebook 黑名单”。

我想知道为什么我的柜台被隐藏了? 点击劫持保护是否删除了“赞”按钮上的计数器?

网址问题

(**抱歉,我无法发布超过 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:

(**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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

遥远的她 2025-01-04 07:06:46

我去了 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文