如何获得我所有Facebook好友的专辑总数?

时间:2011-04-13 10:02:17

标签: php facebook-graph-api fql.multiquery

我想一次性检索所有facebook朋友的专辑总数

任何人都知道如何查询相册表

1 个答案:

答案 0 :(得分:0)

试试这个:

SELECT location, link FROM album WHERE owner IN (SELECT uid2 from friend where uid1 = me())

或进行测试:转到 https://api.facebook.com/method/fql.query?access_token=<ACCESS_TOKEN>&query=SELECT%20location,%20link%20FROM%20album%20WHERE%20owner%20IN%20%28SELECT%20uid2%20from%20friend%20where%20uid1%20=%20me%28%29%29