分享后有没有办法从Facebook注销?我使用下面的代码:
ShareLinkContent linkContent = new ShareLinkContent.Builder().Build();
ShareDialog sharedialog = new ShareDialog(this);
sharedialog.Show(linkContent);
提前致谢!
答案 0 :(得分:0)
If you are using the Android Facebook SDK, you can use the:
LoginManager.getInstance().logOut();
As per the documentation found here:
https://developers.facebook.com/docs/reference/android/current/class/LoginManager/