I have a problem with revoking Facebook permissions using the Android SDK.
There is a case in my application when I want to revoke all permissions. According to the documentation on Facebook, you can use AsyncFacebookRunner for this, and "if you do not specify permission, this completely cancels the application."
I am currently doing it like this:
String method = "DELETE";
Bundle params = new Bundle();
params.putString("permission", "");
mAsyncRunner.request("/me/permissions", params, method, new RequestListener()
{ ... }, null);
using the request signature as follows:
void request(String graphPath, Bundle parameters, final String httpMethod,
RequestListener listener, final Object state)
The onComplete () callback function seems to have returned to OK, but does not seem to have allowed the access token. I deduced this because the next time I call facebook.authorize (), it works without clicking the user on the Facebook login page.
, , ? / ? !