I'm using iOS 10
Swift 3
to integrate FB Login
. I have followed all steps from Facebook
documentation. Now the issue is, after successful login it doesn't returning any values and not get back the user to the app.
Note: The same works perfectly in Swift 2
.
In Xcode, click File > Swift Packages > Add Package Dependency. In the dialog that appears, enter the repository URL: https://github.com/facebook/facebook-ios-sdk. In Version, enter the version number of the latest Facebook SDK for iOS. Complete the prompts to select the libraries you'd like to use in your project.
Steps. Tap the Settings app on the device. Scroll and tap the "Facebook" button, which can be found just a little bit below the button labeled Twitter. Tap and enter your Facebook account credentials (username and password) into the login screen's appropriate boxes.
Don't forget to set Keychain Sharing project targets -> Capabilities -> Keychain Sharing -> Toggle Switch ON
you can follow this http://ashishkakkad.com/2015/05/facebook-login-swift-language-ios/
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