I can get the friendlist by
[facebook requestWithGraphPath:@"me/friends" andDelegate:self];
But the list contain all the friends, how could I get the friendlist that only played the app.
You can query the OpenGraph for the field installed:
[facebook requestWithGraphPath:@"me/friends?fields=installed,name"
andParams:params
andHttpMethod:httpMethod
andDelegate:delegate];
That will return you a list of friends, in which some will have the field installed=1
This gives you a list of your friends that have the app installed
friend.getAppUsers()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With