React-native-fbsdk: failed for URL: "fbauth2:/"

Created on 8 Dec 2018  路  9Comments  路  Source: facebook/react-native-fbsdk

I'm getting the error in the ios canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn鈥檛 be completed. (OSStatus error -10814.)"

Most helpful comment

I fixed this by downgrading to 4.38. Try to add these lines in your Podfile @VietChaien

pod 'FBSDKCoreKit', '4.38'
pod 'FBSDKLoginKit', '4.38'
pod 'FBSDKShareKit', '4.38'

Hope it helps :) Cheers

All 9 comments

me too :(

Im guessing this has to do with newest FBSDK framework?

^ It does. Downgrade to SDK 38 fixes it.
https://developers.facebook.com/docs/ios/downloads/

^ It does. Downgrade to SDK 38 fixes it.
https://developers.facebook.com/docs/ios/downloads/

Hi @stokesbga , how to downgrade sdk with Podfile, i used

pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'
 pod 'FacebookSDK', '~> 3.8'

but it not work

I fixed this by downgrading to 4.38. Try to add these lines in your Podfile @VietChaien

pod 'FBSDKCoreKit', '4.38'
pod 'FBSDKLoginKit', '4.38'
pod 'FBSDKShareKit', '4.38'

Hope it helps :) Cheers

@nmchr7 and @stokesbga Thanks for the kind support
@nmchr7 I was able to login '4.38' but in the console i was getting the response as login error so i downgraded to '4.32' now its working fine. @nmchr7 Thank you for you'r help
@VietChaien Try to downgrade to other versions i think it might help you as suggested by @nmchr7

screen shot 2018-12-14 at 12 25 46 am

I dont using Cocoapods.
I download FacebookSDK and drap & drop it to iOS project.

And remember change one thing in Build Settings:
Select project -> Build Settings Tab -> Framework Search Paths -> $(PROJECT_DIR)/FacebookSdk

This is work for me.

I'm using the npm package cordova-plugin-facebook4, so downgrading from 4.2.1 to 4.0.0 worked for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sibelius picture sibelius  路  4Comments

nlindeke picture nlindeke  路  5Comments

notlose picture notlose  路  5Comments

santilorenzo picture santilorenzo  路  3Comments

akash-rajput picture akash-rajput  路  4Comments