Facebook SDK 4.5 IOS 9
Facebook SDK 4.5 IOS 9
I got an issue with the new FBSDK. Whenever I try to call the login method logInWithReadPermissions, I get this error message:
ERROR : "canOpenUrl : failed for url "fbauth2://" error: "(null)"
I have my config .plist file following the ios9 tuto ( https://developers.facebook.com/docs/ios/ios9 ) on dev.facebook. So, I got the NSAppTransportSecurity dictionary and the LSApplicationQueriesSchemes array (with the string "fbauth2" on it)
Would you know how to resolve this error?
Answer by Jacopo Penzo for Facebook SDK 4.5 IOS 9
I have the same problem with Google+ Sign-in library, but i solved for Facebook updating at the last SDK version 4.6.0!
Remember to change your plist key LSApplicationQueriesSchemes
after the update like this:
LSApplicationQueriesSchemes fbapi fb-messenger-api fbauth2 fbshareextension
Answer by daniel3223 for Facebook SDK 4.5 IOS 9
I had the same problem, but ran the app on my phone which has facebook installed and it worked. It might be because it doesn't work on the simulator or facebook has to be installed. Anyone found anything else?
Answer by PJ . for Facebook SDK 4.5 IOS 9
If you still continue to have problems, reset the simulator, this worked for me.
Answer by Nikunj Akbari for Facebook SDK 4.5 IOS 9
1] Authentication in Developer.facebook and generate Facebook Id like :=>460481580805052
2] Set Bitcode : No From Build Settings
3] Set up Plist File
CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLSchemes fb460481580805052 FacebookAppID 460481580805052 LSRequiresIPhoneOS NSAppTransportSecurity NSExceptionDomains akamaihd.net NSIncludesSubdomains NSThirdPartyExceptionRequiresForwardSecrecy facebook.com NSIncludesSubdomains NSThirdPartyExceptionRequiresForwardSecrecy fbcdn.net NSIncludesSubdomains NSThirdPartyExceptionRequiresForwardSecrecy LSApplicationQueriesSchemes fbapi fbapi20130214 fbapi20130410 fbapi20130702 fbapi20131010 fbapi20131219 fbapi20140410 fbapi20140116 fbapi20150313 fbapi20150629 fbauth fbauth2 fb-messenger-api20140430 fb-messenger-platform-20150128 fb-messenger-platform-20150218 fb-messenger-platform-20150305
4] Download 4 Sdk Framework like
=>Bolts.framework =>FBSDKCoreKit.framework =>FBSDKLoginKit.framework =>FBSDKShareKit.framework
Answer by Ponja for Facebook SDK 4.5 IOS 9
if you already have items on LSApplicationQueriesSchemes. let the Facebook items first.
This solved my problem.
Answer by Arda . for Facebook SDK 4.5 IOS 9
Use like this in info.plist
CFBundleURLTypes CFBundleURLSchemes fb123124123123 fbauth2
After that you should remove your app from editor and launch again.
Answer by Bruno Delgado for Facebook SDK 4.5 IOS 9
From Facebook FAQ at the bottom of the link: https://developers.facebook.com/docs/ios/ios9
This is an Xcode warning indicating the the canOpenURL: call returned false. As long as you have configured the LSApplicationQueriesSchemes entry in your plist as described above, you can ignore this warning
Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72
0 comments:
Post a Comment