In some cases in my application i need to log the user out, but i only have the FBSDKLoginButton instance in my view controller and implementing the
FBSDKLoginButtonDelegate
using
func loginButton(loginButton: FBSDKLoginButton!, didCompleteWithResult result: FBSDKLoginManagerLoginResult!, error: NSError!)
I want to pop the login view after logging the user out (destroying Facebook session) Don't know how to use
FBSDKLoginManager.logOut(<#FBSDKLoginManager#>)
I'am working inside a UIViewController and referencing the FBSDKLoginButton through an outlet