Struggled to figure this out for a couple of hours…
Here is the solution to bypass fb app|background-safari authentication, and it is just to change in Facebook.m:
[self authorizeWithFBAppAuth:YES safariAuth:YES]
to
[self authorizeWithFBAppAuth:NO safariAuth:NO]
in the method:
- (void)authorize:(NSArray *)permissions
delegate:(id<FBSessionDelegate>)delegate
.
Verified it with the sample code without changing anything else (of course set kAppId to yours)
I was quite mad why on earth FB doesn’t document this…
Hope it helps,
Cheers