get list of facebook users who are using specific application using FQL

后端 未结 4 679

I am trying to fetch following case using FQL

If few users have authorized \"Application A\" then is it possible to know that currently how many users are using tha

4条回答
  •  别那么骄傲
    2020-12-16 04:40

    is_app_user on the user table when requesting friends returns this data.

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

    or...

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

    Which is a bit tighter - only returning those users in-app.

提交回复
热议问题