After doing authentication using facebook by doing
FBSessionLoginBehavior behavior = FBSessionLoginBehaviorForcingWebView;
appDelegate.session = [[FBSession alloc] init];
[appDelegate.session openWithBehavior:behavior
completionHandler:^(FBSession *session, FBSessionState status, NSError *error) {
NSLog(@"session is %d",session.state);
[self dismissViewControllerAnimated:YES completion:nil];
}
];
I am always getting
session is 513
Question :
what is the meaning of 513
Please assist me about this issue. Thanks
Facebook SDK error codes tell me that it’s “User cannot poke via API”. It seems this handling 513 error explicitly. Also have a look this.