次の方法でユーザーのFacebookにアクセスしています:
[accStore requestAccessToAccountsWithType:fbAccountType
                                           options:options
                                        completion:^(BOOL granted, NSError *error) {
                                            if (granted) {
                                                // If access granted, then get the Facebook account info
                                                NSArray *accounts = [accStore
                                                                     accountsWithAccountType:fbAccountType];
                                                ACAccount *acc = [accounts lastObject];
                                                // Get the access token, could be used in other scenarios
                                                ACAccountCredential *fbCredential = [acc credential];
                                                NSString *accessToken = [fbCredential oauthToken];
                                                NSLog(@"Facebook Access Token: %@", accessToken);
                                                // Add code here to make an API request using the SLRequest class
                                            } else {
                                                NSLog(@"Access not granted");
                                            }
                                        }];
これは出力します:
 Facebook Access Token: (null)
アクセスが許可されていますが、トークンが null です。私は何を間違っていますか?
ありがとう