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?
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:If you still continue to have problems, reset the simulator, this worked for me.
if you already have items on LSApplicationQueriesSchemes. let the Facebook items first.
This solved my problem.
Use like this in info.plist
After that you should remove your app from editor and launch again.
1] Authentication in Developer.facebook and generate Facebook Id like :=>460481580805052
2] Set Bitcode : No From Build Settings
3] Set up Plist File
4] Download 4 Sdk Framework like
From Facebook FAQ at the bottom of the link: https://developers.facebook.com/docs/ios/ios9