来自 link_stats 的 Like_count 与小部件的 Like

发布于 2024-12-08 18:42:28 字数 1056 浏览 1 评论 0原文

我使用此 url 来检索网页的 xml 数据:

https://api.facebook.com/method/fql.query?query=select%20%20share_count,%20like_count,%20comment_count,%20total_count,%20 click_count%20from%20link_stat%20where%20url=%27http://www.justinboots.com/en/Justin_America_Zone.html?item_id=266%27&format=xml

返回的数据如下:

<?xml version="1.0" encoding="UTF-8" ?> 
- <fql_query_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" list="true">
- <link_stat>
<like_count>56</like_count> 
</link_stat>
</fql_query_response>

或者like_count为56;然而,我的 Facebook 小部件显示 84 个赞。

如果我喜欢一个页面,则两个计数都会增加 1。如果我点击不同,则两个计数都会减少 1。like_count 和 facebook widgetlikes 之间有什么相关性???

I'm using this url to retrieve xml data for a web page:

https://api.facebook.com/method/fql.query?query=select%20%20share_count,%20like_count,%20comment_count,%20total_count,%20click_count%20from%20link_stat%20where%20url=%27http://www.justinboots.com/en/Justin_America_Zone.html?item_id=266%27&format=xml

The returned data is as follows:

<?xml version="1.0" encoding="UTF-8" ?> 
- <fql_query_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" list="true">
- <link_stat>
<like_count>56</like_count> 
</link_stat>
</fql_query_response>

or a like_count of 56; however, my facebook widget displays 84 likes.

If I like a page both counts increment by 1. If I click unlike the both decrease by 1. What's the correlation between like_count and the facebook widgetlikes???

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

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

发布评论

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

评论(1

窗影残 2024-12-15 18:42:28

点赞插件/Facebook 小部件计数器显示的点赞数多于点赞数,它将显示 Total_count

SELECT total_count FROM link_stat WHERE url='http://www.justinboots.com/en/Justin_America_Zone.html?item_id=266'

,这将返回正确的值。

the like plugin / facebook widget counter shows more than the likes it will show the total_count

SELECT total_count FROM link_stat WHERE url='http://www.justinboots.com/en/Justin_America_Zone.html?item_id=266'

this will return the correct value.

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