I understand - http://developers.facebook.com/docs/guides/mobile/#ios -, seems really useful, but my app won't support multitasking, so this "cross safari" method won't work for me.
Is there a brief example somewhere (or can someone please copy here) an authentication process trough FBDialogs (with this so called "new" API)? I'm just getting know this SDK, so please as basic as you can.
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