facebook - How to get mutual groups of two users using FQL? -


i want that:

select gid group_member uid=<uida> , gid in (select gid group_member uid=<uidb>) 

this should give me mutual groups uida , uidb.

problem is, i'm using access_token of uida run query, therefore inner select empty. there's way provide 2 access tokens?

there no such thing - 2 access tokens. can ask more permissions , access_token allow access more facebook data depends on permissions have.

in case, need ask 2 permissions:

  • user_groups
  • friends_groups

then, build access_token , fql query built work you.

you can find needed permissions here: https://developers.facebook.com/docs/reference/fql/group_member


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -