When I click on login with Facebook button, it is opening safari browser and getting closed immediately. Noticed error on the console.
App delegate method:
If you're recompiling with iOS SDK 9.0, add the following to your application's plist if you're using a version of the Facebook SDK v4.6.0 or above:
LSApplicationQueriesSchemes
fbapi
fb-messenger-api
fbauth2
fbshareextension
To prepare the facebook integration supported to iOS 9, go through Facebook Integraion for iOS 9 guidelines
To check version of facebook SDK, use below line of code:
print("SDK version \(FBSDKSettings .sdkVersion())")