2

如何使用 Mogli 或 Facebooker2 以编程方式查找我的哪些朋友正在使用我的应用程序。

如果唯一的方法是使用 FQL,有人可以提供一个例子吗?

我认为下面的代码能够找到

select uid, name, is_app_user from user where uid in (select uid2 from friend where uid1=me()) and is_app_user=1
4

1 回答 1

0

刚刚测试:

https://api.facebook.com/method/fql.query?query=select+uid%2C+name%2C+is_app_user+from+user+where+uid+in+%28select+uid2+from+friend+where+uid1%3Dme%28%29%29+and+is_app_user%3D1%0A
&access_token=YOUR_ACCESS_TOKEN
&format=json

并返回正确的结果,因此 FQL 确实有效!

于 2011-07-26T21:23:12.980 回答