I want to send the friend request from my app. I used following code
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"My Title", @"title",
@"Come check out my app.", @"message",
FrienduserId, @"id",
nil];
[FBWebDialogs
presentDialogModallyWithSession:nil
dialog:@"friends"
parameters:[params mutableCopy]
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error){
if (error) {
NSLog(@"%@",error);
}
else
{
NSLog(@"done");
}
}];
and It displays dialog, when i click on confirm it will gives message Sorry something went wrong . We are working on getting this fixed as soon as we can.
I have integrated Facebook SDK successfully. I got my profile information and also my friends list. So Please help me to solve this.