1
Я хочу отправить Facebook приглашения друзьям, но я не знаю, почему приглашение отображается на принимающей стороне.Ошибка уведомления о приглашении Facebook
Я использовал этот код
NSMutableDictionary* params =
[NSMutableDictionary dictionaryWithObjectsAndKeys:nil];
[FBWebDialogs
presentRequestsDialogModallyWithSession:nil
message:[NSString stringWithFormat:
@"I just smashed friends! %d Can you beat it?",15]
title:@"MSR"
parameters:params
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
if (error) {
// Case A: Error launching the dialog or sending request.
NSLog(@"Error sending request.");
} else {
if (result == FBWebDialogResultDialogNotCompleted) {
// Case B: User clicked the "x" icon
NSLog(@"User canceled request.");
} else {
NSLog(@"Request Sent.");
}
}}];
может любой мне помочь ??