ios facebook sdk 4.0 ログインエラーコード304

facebook sdk v4.0をアップデートしました。

で、Using Custom Login UIsのチュートリアルによると

-(IBAction)facebookLoginClick:(id)sender {

FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];

[login logInWithReadPermissions:@[@"email"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
    if (error) {
        // Process error
    } else if (result.isCancelled) {
        // Handle cancellations
    } else {
        // If you ask for multiple permissions at once, you
        // should check if specific permissions missing
        if ([result.grantedPermissions containsObject:@"email"]) {
            // Do work
        }
    }
}];
}

しかし、結果は常にnilであり、エラーコードは304です、 **am I missing something?

iOSアプリを実行中にXcodeでFBアプリの詳細を変更すると発生しました。デバイスからアプリを削除し、新しいFBアプリの設定で再パブリッシュする必要があります。再コンパイルしただけでは、古いFB設定をクリアすることはできません

解説 (1)

FBSessionの状態を確認します。

isOpen
Indicates whether the session is open and ready for use.
@property (readonly) BOOL isOpen;
Declared In: FBSession.h
解説 (2)

304は何も変わっていないことを表しています。おそらく、すでに何らかの形で認証されているため、304でnilを得ることは何も変わっていないことを意味します。

解説 (1)