“喜欢”的人我的博主帖子?

发布于 2024-12-29 22:57:27 字数 680 浏览 5 评论 0原文

我已将以下内容添加到我的 Blogger 模板中,以便在我的每个 Blogger 帖子上添加“赞”按钮:

<script>
document.write(&#39;&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=<data:post.url/>&amp;layout=standard&amp;show_faces=false&amp;width=380&amp;action=like&amp;font=trebuchet+ms&amp;colorscheme=light&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot; style=&quot;border:none; overflow:hidden; width:450px; height:25px&quot;&gt;&lt;/iframe&gt;&#39;);
</script>

我的问题是,我如何知道到底是谁按下了“赞”,因为它只显示喜欢我的帖子的人数?

谢谢你!

I have added the following to my Blogger template to add a Like button on each of my Blogger post:

<script>
document.write('<iframe src="http://www.facebook.com/plugins/like.php?href=<data:post.url/>&layout=standard&show_faces=false&width=380&action=like&font=trebuchet+ms&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>');
</script>

My question is, how could I know who exactly has pressed Like as it only display the number of people who have liked my post?

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

丑疤怪 2025-01-05 22:57:27

Facebook 不提供 API 来获取喜欢某个页面的人员列表。这可能是由于隐私问题(尽管使用 Facebook,你永远不知道他们的理由,他们一直在出售你的个人信息)。

Facebook doesn't provide an API to get a list of people who like a page. This is probably due to privacy issues (although with Facebook you never know their reasonings, they sell your personal information all the time).

单身狗的梦 2025-01-05 22:57:27

我的问题是,我怎么知道到底是谁按了“赞”
只显示喜欢我的帖子的人数?

强制用户登录您的网站,然后才为他们显示“喜欢”按钮。当您听到 edge.create 事件触发时,记录已登录的用户。

My question is, how could I know who exactly has pressed Like as it
only display the number of people who have liked my post?

Force users to log into your website and only then display the like button for them. When you hear the edge.create event fire then log the user who is logged in.

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