从 facebook 注销按钮捕获注销操作 - facebook-android-sdk:4.0.0

Catch logout action from facebook Logout button - facebook-android-sdk:4.0.0

目前我正在开发一个经过身份验证的facebook android application.I已经使用facebook-android-sdk:4.0.0 完成了身份验证应用程序。 它工作正常。 登录后,同一个按钮作为注销。但问题是。我需要从 facebook 注销按钮捕获注销操作事件你们能帮我吗?

或者有没有其他方法可以实现注销功能。 请指教

您可以拨打LoginManager.logOut() to log out the user. You can use the AccessTokenTracker to detect when the access token goes null, here's an example.