在Facebook个人资料图片上获得喜欢的人数(图表api) [英] Get number of likes on a facebook profile picture (graph api)
本文介绍了在Facebook个人资料图片上获得喜欢的人数(图表api)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过Graph API在他们的个人资料图片上获得喜欢的数量。
如下所示:
https://graph.facebook.com/$userid/picture/likes
它不工作(显然: - ))...不幸的是,我也不能在Graph API文档中找到任何内容。你有什么想法吗?
非常感谢!
Tomi
解决方案
您可以尝试以下FQL查询:
select pid,like_info.like_count from photo where aid in(select aid from album where owner = me()and name ='Profile Pictures')and position = 0
I have a list of Facebook userid-s. I would like to get the number of likes on their profile picture via Graph API.
Something like:
https://graph.facebook.com/$userid/picture/likes
It's not working (obviously :-))... Unfortunately I can't find anything about this on the Graph API documentation, either. Do you have any idea?
Thank you very much!
Tomi
解决方案
You can try the following FQL query:
select pid, like_info.like_count from photo where aid in (select aid from album where owner = me() and name='Profile Pictures') and position = 0
这篇关于在Facebook个人资料图片上获得喜欢的人数(图表api)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文