// Check and retrieve authorization information
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([defaults objectForKey:ACCESS_TOKEN_KEY] && [defaults objectForKey:EXPIRATION_DATE_KEY]) {
self.facebook.accessToken = [defaults objectForKey:ACCESS_TOKEN_KEY];
self.facebook.expirationDate = [defaults objectForKey:EXPIRATION_DATE_KEY];
}
此代码来自Facebook iOS SDK demoCode, 但它无法设置self.facebook.accessToken和self.facebook.expirationDate。 NSLog是(NULL) 我怎么了?