获取 facebook 个人资料图片上的喜欢数量(graph api) [英] Get number of likes on a facebook profile picture (graph api)

查看:28
本文介绍了获取 facebook 个人资料图片上的喜欢数量(graph api)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Facebook 用户 ID 列表.我想通过 Graph API 获取他们个人资料图片上的点赞数.

I have a list of Facebook userid-s. I would like to get the number of likes on their profile picture via Graph API.

类似于:

https://graph.facebook.com/$userid/picture/likes

它不起作用(显然 :-))...不幸的是,我在 Graph API 文档中也找不到任何关于此的信息.你有什么想法吗?

It's not working (obviously :-))... Unfortunately I can't find anything about this on the Graph API documentation, either. Do you have any idea?

非常感谢!

托米

推荐答案

您可以尝试以下 FQL 查询:

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 个人资料图片上的喜欢数量(graph api)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆