I encountered the same issue just now. I solved it by adding the following code into my application delegate:
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
return [[controller facebook] handleOpenURL:url];
}
where controller is my UIViewController
instance and facebook is my Facebook
instance.
You also need to register your app to handle your fb application's URL scheme (do that in you Info.plist).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…