title: Handling cold start for App Links for Facebook iOS SDK V4.1
body: <p>This is implemented in AppDelegate</p>
  
  <pre><code>    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      return FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
  }
  </code></pre>
  
  <p>I have App Link with some parameters that is shared on Facebook. If my app is minimized, clicking link on Facebook opens my app and calling function</p>
  
  <pre><code>func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -&gt; Bool
  </code></pre>
  
  <p>like it should happened.</p>
  
  <p><strong>Problem</strong> is if my app is terminated (not minimized) clicking link on Facebook opens my app but function is not called so I can't process input params.</p>
  
  <p>I have found something about handling cold start in Facebook documentation but that info is outdated.</p>
  
  <p>Did I miss something to implement or it is Facebook bug?</p>