Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 996
Bastien Avatar asked Aug 13 '15 14:08

Bastien


People also ask

Does iOS 9 support Facebook?

Is Your iPhone or iPad Running Compatible iOS Version? Currently, Facebook supports iOS 8 or later.

What is the latest version of Facebook SDK for iOS?

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.

What is Facebook SDK for iOS?

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.

What version of iOS does Facebook require?

The application is installable on Apple products that have iOS 9.0 or a newer operating system.


1 Answers

If you still continue to have problems, reset the simulator, this worked for me.

like image 66
PJ . Avatar answered Oct 12 '22 13:10

PJ .