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?
Is Your iPhone or iPad Running Compatible iOS Version? Currently, Facebook supports iOS 8 or later.
The current version of the Facebook SDK for iOS is version 14.1. 0. Code and samples for the Facebook SDK for iOS are available on GitHub. When you use the Facebook SDK for iOS, follow the Facebook Open Source Terms of Use and Privacy Policy.
The Facebook SDK enables: Facebook Login - Authenticate people with their Facebook credentials. Share and Send dialogs - Enable sharing content from your app to Facebook. App Events - Log events in your application.
The application is installable on Apple products that have iOS 9.0 or a newer operating system.
If you still continue to have problems, reset the simulator, this worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With