Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
11.2.15Cocoapods 1.8.4I want to be able to login into my app using my Facebook account. However, when I tap the login button, the window shows a Facebook page telling "Sorry, something went wrong" and I don't even get to the actual login page. My log shows this error:
-canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn鈥檛 be completed. (OSStatus error -10814.)
Simply tap the login button.
@penelopearaujo The canOpenURL: failed for URL message wouldn't be related to the "Sorry, something went wrong" issue you're seeing. That's just what the system displays when the SDK checks if the Facebook app is installed via the canOpenURL method and it's not present.
Have you followed all the steps shown here to configure your app for Facebook Login? If you have, please reach out to Facebook Developer Support so they can help debug your specific issue).
I am also experiencing the same issue here, Please help
It is working in iOS 12 though.
not working in iOS 13
@edcastparesh If you could provide some more specifics (SDK version, etc.) I can look into it.
I am also experiencing the same issue here, Please help
It is working in iOS 12 though.
not working in iOS 13.2.3
I also have the same issue.
It is working in iOS 12 though.
not working in iOS 13.2.3
It is working with Xcode 10 but not in Xcode 11
Thanks, @robtimp! I downgraded my FBSDKLoginKit to version 5.8.0 and it worked.
@robtimp just wondering if you closed this issue because downgrading fixed it?
For me the issue was that I had requested invalid permissions in the login button:
loginButton.permissions = ["name", "picture"]
When the correct way to request name and picture was simply:
loginButton.permissions = ["public_profile"]
Most helpful comment
For me the issue was that I had requested invalid permissions in the login button:
When the correct way to request name and picture was simply: