with iOS9 application openURL:sourceApplication:annotation is deprecated
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
return FBSDKApplicationDelegate.sharedInstance().application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation)
}
so now we should use;
func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -> Bool {}
FBSDKApplicationDelegate what to set for sourceApplication parameter (String)
if you have annotation param in your SDK pass as nil
New SDK
Update 2017/04/06: Xcode 8.3, FBSDKCoreKit 4.20.2
The following used on facebook site till (Jan 1, 2017)