我目前在我的应用程序中遇到一个错误,即使我已经在我的应用程序中注销了该帐户,我的 Facebook 仍会作为我的应用程序的默认帐户保持登录状态。
set CurrentAccessToken to nil. This should work.
[FBSDKAccessToken setCurrentAccessToken:nil]
facebook sdk, you can check
if(FBSDKAccessToken.current() != nil) { //logged in } else { //not logged in }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.