3
很明显,我认为这些都是在登录时称为如果用户授予或拒绝权限:在哪些情况下调用Facebook IOS FBSessionDelegate方法?
- (void)fbDidLogin;
- (void)fbDidNotLogin:(BOOL)cancelled;
但我想知道当以下FBSessionDelegate方法可称为:
- (void)fbDidExtendToken:(NSString*)accessToken expiresAt:(NSDate*)expiresAt;
- (void)fbDidLogout;
- (void)fbSessionInvalidated;
文档说:
//Called after the access token was extended.
- (void)fbDidExtendToken:(NSString*)accessToken expiresAt:(NSDate*)expiresAt;
//Called when the user logged out.
- (void)fbDidLogout;
//Called when the current session has expired.
- (void)fbSessionInvalidated;
现在什么时候会发生这样的事情?当我打电话给以下?
[Facebook authorize:nil];
有没有机会我会得到一个fbDidLogout回调权?
也许如果用户通过Facebook应用程序从他的Facebook帐户中删除我的应用程序,该方法会被调用吗?不,因为我的应用程序在这种情况下不打开。
...所以在哪种情况下这些被称为?