I implement an app which need to get list invitable_friends
from Facebook. I had researched how to get invitable_friends
(have some question like that on stack overflow but I also cannot get any right way to fix it) and also tried but the result always null, I guess the reason is that :The invitable_friends list is only available for games with a Canvas implementation.
But I don't know how to integrate Canvas or do somethings else to get the list invitable_friends
(sorry, maybe it's a naive way to make a question but I'm not have any experience at this). please let me know the way to get this list(configuration my app on Facebook developer page or do anything).
Here is my code to get list after login success:
[FBRequestConnection startWithGraphPath:@"/me/invitable_friends"
parameters:nil
HTTPMethod:@"GET"
completionHandler:^(
FBRequestConnection *connection,
NSDictionary *result,
NSError *error
) {
/* handle the result */
NSLog(@"resurl");
}];