Facebook graph api 从ios应用程序发送邀请消息
我将Facebook SDK集成到我的iOS原生应用程序中。我已完成登录并收到活动FBSession。然后我请求发布许可,然后我想向我的单身朋友发送邀请,比如Candy Crush Saga。可能吗 你能帮我吗 要发布帖子,我使用:Facebook graph api 从ios应用程序发送邀请消息,facebook-graph-api,facebook-invite,Facebook Graph Api,Facebook Invite,我将Facebook SDK集成到我的iOS原生应用程序中。我已完成登录并收到活动FBSession。然后我请求发布许可,然后我想向我的单身朋友发送邀请,比如Candy Crush Saga。可能吗 你能帮我吗 要发布帖子,我使用: NSMutableDictionary *params = [@{ @"link" : @"https://developers.facebook.com/ios",
NSMutableDictionary *params = [@{
@"link" : @"https://developers.facebook.com/ios",
@"picture" : @"https://developers.facebook.com/attachment/iossdk_logo.png",
@"name" : @"Facebook SDK for iOS",
@"caption" : @"Build great social apps and get more installs.",
@"description" : @"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps."
} mutableCopy];
[FBRequestConnection
startWithGraphPath:@"me/feed"
parameters:params
HTTPMethod:@"POST"
completionHandler:^(FBRequestConnection *connection,
id result,
NSError *error) {
NSString *alertText;
if (error) {
alertText = [NSString stringWithFormat:
@"error: domain = %@, code = %d",
error.domain, error.code];
} else {
alertText = [NSString stringWithFormat:
@"Posted action, id: %@",
result[@"id"]];
}
// Show the result in an alert
[[[UIAlertView alloc] initWithTitle:@"Result"
message:alertText
delegate:self
cancelButtonTitle:@"OK!"
otherButtonTitles:nil]
show];
}];
但是发送邀请的图形路径是什么
提前谢谢
卢卡