1 min readOct 23, 2018
If you are using UIButton, you can just connect it with IBAction. Inside of the IBAction, you should use FBSDKLoginManager instead of FBSDKLoginButton.
I created a GitHub repository which contains sample files. Hope it works for you.
https://github.com/KentaKodashima/FacebookLoginSample