FQL Facebook查询语言:如何查询已安装我的应用程序的特定用户的朋友列表? [英] FQL facebook query language: how can i query the list of friends of a specific user that has my application installed?

查看:50
本文介绍了FQL Facebook查询语言:如何查询已安装我的应用程序的特定用户的朋友列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户登录我的Facebook应用程序时,我想向他显示他的所有安装了我的应用程序的朋友的列表.

When a user logs in to my facebook application, i want to show him a list of all of his friends that has my application installed.

我可以使用FQL查询谁安装了我的应用程序吗?如果可以,怎么办?

can I use FQL to query who's of his friends have my application installed? and if so how ?

谢谢!

推荐答案

实际上,您可以提取通过FQL安装了应用程序的朋友的列表.

Actually, you can do pull list of friends who installed an app through FQL.

SELECT uid, name, pic_square FROM user WHERE is_app_user  AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())

这篇关于FQL Facebook查询语言:如何查询已安装我的应用程序的特定用户的朋友列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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