How to get "Friends who like/play games" list (similar to Farmville 2)

Posted by FBAppDev on Stack Overflow See other posts from Stack Overflow or by FBAppDev
Published on 2012-10-23T16:00:46Z Indexed on 2012/10/23 23:01 UTC
Read the original article Hit count: 176

Filed under:

I'm working on a Facebook app, and I'm trying to get a friends list similar to Farmville 2.

They have a "friends who like games" list. My first thought is, I can get a list of all friends, then for each friend, see if they like any pages with type == "GAMES/TOYS". But ideally, I would like to get the list in one query (not by making one graph API or FQL request per friend).

Is this possible, and if so, how?

© Stack Overflow or respective owner

How to get "Friends who like/play games" list (similar to Farmville 2)

Posted by FBAppDev on Game Development See other posts from Game Development or by FBAppDev
Published on 2012-10-23T16:00:46Z Indexed on 2012/10/23 17:21 UTC
Read the original article Hit count: 176

Filed under:

I'm working on a Facebook app, and I'm trying to get a friends list similar to Farmville 2.

They have a "friends who like games" list. My first thought is, I can get a list of all friends, then for each friend, see if they like any pages with type == "GAMES/TOYS". But ideally, I would like to get the list in one query (not by making one graph API or FQL request per friend).

Is this possible, and if so, how?

© Game Development or respective owner

Related posts about facebook