title: Facebook share button on iOS 9 opens browser instead of native Facebook app
body: <p>My app uses an <code>FBSDKShareButton</code>, which launches a popup from the native Facebook app on iOS 8. However, on iOS 9 it launches a browser window, even though I've followed all the instructions for supporting iOS 9 <a href="https://developers.facebook.com/docs/ios/ios9" rel="nofollow noreferrer">here</a> and added the necessary <code>LSApplicationQueriesSchemes</code> (and recompiled for iOS 9).</p>
  <p>I keep reading that it's &quot;by design&quot; that the facebook <em>login</em> opens a browser instead of the native app on iOS 9, but there's no info on why/whether the share <em>button</em> is supposed to launch the native app. It appears that the share <em>dialog</em> (<code>FBSDKShareDialog</code>) indeed launches the native app, but I'd like to avoid using my own button if I can.</p>
  <p>And a secondary question: if I do use my own button and launch an <code>FBSDKShareDialog</code>, I get the following errors in the log (although the actual sharing seems to work fine). Why?</p>
  <blockquote>
  <p>-canOpenURL: failed for URL: &quot;fbapi20150629:///&quot; - error: &quot;This app is not allowed to query for scheme fbapi20150629&quot;</p>
  <p>plugin com.apple.share.Facebook.post invalidated</p>
  </blockquote>
  <p>I'm using the latest Facebook SDK (v4.6), so the referenced URL scheme should not be necessary. I'm compiling with Xcode 7.0.1.</p>