本文介绍了Facebook粉丝页面的粉丝数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要了解Facebook上特定粉丝页面的粉丝数.深入研究API之后,我找不到使用API正确"进行此操作的方法.相反,我退回到FQL查询,并且效果很好.
I needed to pull the fan count for particular fan pages on Facebook. After digging through the API, I couldn't find a way to do this with the API "proper." Instead I fell back to a FQL query, and it worked quite well.
select fan_count from page where page_id = <FAN_PAGE_ID>
我想念有关Facebook API的什么.这是获取页面粉丝数的唯一方法吗?通常,与公开的API方法相比,您多久使用FQL进行请求?
What did I miss about the Facebook API. Is this the only way to capture a fan count for a page? In general, how often do you use FQL for your requests as opposed to the exposed API methods?
推荐答案
"fan_count"属性.将可口可乐替换为粉丝页面的ID.
"fan_count" property. replace cocacola with your fan page's ID.
请注意,在 2010年11月综述汇总中,此属性已更改为点赞":
Please note that this property is being changed to "likes" in the November 2010 Roundup migration:
图形API:上的fan_count属性 Page对象将重命名为 喜欢.
Graph API: The fan_count attribute on the Page object will be renamed to likes.
您可以在应用程序的高级设置"页面中选择十一月摘要".
You can opt in to the November Roundup in your application's advanced settings page.
这篇关于Facebook粉丝页面的粉丝数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!