I am working on app that contains facebook login .After login with face book I need to go to native application & app should display user name & image that was there in face book .But when I am logining with facebook It is showing "SECURITY WARNING:"Please treat the URL above as you would your password and do not share it with anyone. in ios" ,& not coming back to my native app .Can any one sort this issue.I am using Facebook Graph api for face book.
In AppDelegate:
-(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{
return [[_viewController facebook] handleOpenURL:url];
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
return [[_viewController facebook] handleOpenURL:url];
}