Reputation: 1003
How i know, when the user authorize the app, or not, and the SDK goes back to my app? Theres any event to know that?
Upvotes: 0
Views: 72
Reputation: 1303
in your appdelegate
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
and you can inspect the sourceApplication.
Also in the applicationDidBecomeActive:
remember to call [FBSession.activeSession handleDidBecomeActive];
Upvotes: 1
Reputation: 612
-(BOOL) application:(UIApplication *)application handleOpenURL:(NSURL *)url{}
also you have to set URL Schemes in you .plist
Upvotes: 1