我遵循这个教程,我从xcode获得了这个错误消息,请帮助。
FBSDKLog:已经有一个经过身份验证的会话请求。在启动新SFAuthenticationSession之前取消active。
发布于 2020-01-02 08:57:55
你可以做以下..。
let manager = LoginManager() // create object of LoginManager class
manager.logOut() //<- Logout if there is any existing session
manager.logIn(permissions: ["public_profile", "email"], from: self) { (result, error) in
//your code goes here...
} 发布于 2022-04-04 20:49:58
FBLoginButton自动启动身份验证会话。确保您没有调用FBSDKLoginKit.LoginManager().login()作为按钮操作的一部分。相反,遵循LoginButtonDelegate来处理由按钮点击产生的身份验证会话的结果。
https://stackoverflow.com/questions/59560450
复制相似问题