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.
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()
© 2022 - 2024 — McMap. All rights reserved.