How to determine when a user removes an application from Facebook

I am new to using the SDK for Facebook, and I was thinking how to determine when a user removes the application from their Facebook account. Currently, if we delete the application, and we want to publish something from our application, I get an error.

+3
source share
2 answers

Try the following:

[FBSession renewSystemCredentials:^(ACAccountCredentialRenewResult result, NSError *error) {
    if (!error) {
        if (result == ACAccountCredentialRenewResultRejected) {
            NSLog(@"Facebook app deleted");
        }
    }
    else {
        NSLog(@"Error: %@", error);
    }
}];
+1
source

http://developers.facebook.com/docs/authentication/#app-deauthorization

, , URL- . HTTP POST, , signed_request, (UID) , . .

0

All Articles