My application uses FBSDKShareButton
one that launches a pop-up window from its own Facebook application on iOS 8. However, on iOS 9 it launches a browser window, although I followed all the instructions for supporting iOS 9 here and added the necessary one LSApplicationQueriesSchemes
(and recompiled for iOS 9).
I continue to read that it is “by design” that the facebook login opens a browser instead of its own application on iOS 9, but there is no information on why / whether the sharing button should launch its own application. It appears that the FBSDKShareDialog
native application ( ) dialog does indeed launch its own application, but I would like it if I hadn't used my own button.
And the secondary question is: if I use my own button and run FBSDKShareDialog
, I get the following errors in the log (although the actual sharing works fine). Why?
-canOpenURL: failed URL: "fbapi20150629: ///" - error: "This application is not allowed to request for the fbapi20150629 schema"
plugin com.apple.share.Facebook.post is invalid
I use the latest SDK for Facebook (v4.6), so a link to the URL scheme is not needed. I am compiling with Xcode 7.0.1.
source
share