It’s clear to me that they are called at login if the user grants or denies permission:
- (void)fbDidLogin;
- (void)fbDidNotLogin:(BOOL)cancelled;
But I was wondering when the following FBSessionDelegate methods can be called:
- (void)fbDidExtendToken:(NSString*)accessToken expiresAt:(NSDate*)expiresAt;
- (void)fbDidLogout;
- (void)fbSessionInvalidated;
The documentation says:
- (void)fbDidExtendToken:(NSString*)accessToken expiresAt:(NSDate*)expiresAt;
- (void)fbDidLogout;
- (void)fbSessionInvalidated;
Now, when will this happen? When do I call the following?
[Facebook authorize:nil]
Is there no chance that I will return to the correct fbDidLogout call?
Maybe if a user deletes my application from his Facebook account through the Facebook application, will this method be called, by what? No, because my application does not open in this case.
... so in what situation will they be called?
Tieme source
share