如何通过uid计算Facebook用户的总朋友? [英] How can I count the total friends of a Facebook user by uid?
本文介绍了如何通过uid计算Facebook用户的总朋友?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过 uid
计算Facebook用户的总朋友数?
How can I count the total friends of a Facebook user by uid
?
推荐答案
可以查询用户
表格中有一个 friend_count
字段。
There is a friend_count
field against the user
table that you can query.
SELECT friend_count FROM user WHERE uid = me()
只需将您要查询的用户的UID替换为 me()
。
Just replace me()
with the UID of the user that you want to query.
这篇关于如何通过uid计算Facebook用户的总朋友?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文