title: trying to login from facebook sdk earlier it was working fine but now giving error?
body: <p>1.trying to login from facebook sdk earlier it was working fine but now giving after login from different account its giving "domain=com.facebook.sdk.login code=304 "  error.
  below is my code
   </p>
  
  <pre><code>- (IBAction)fbLoginClick:(id)sender
  {
  
      if ([AppDelegate getAppDelegate].internetActive) {  
  
          FBSDKLoginManager * login = [[FBSDKLoginManager alloc] init];
  
          [login logInWithReadPermissions:@[@"public_profile", @"email",@"user_birthday",@"user_friends",@"user_posts"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
  
              if (!error)
              {
                  NSMutableArray *grantedPermission = (NSMutableArray *)result.grantedPermissions;
                  if(![grantedPermission containsObject:@"public_profile"] || ![grantedPermission containsObject:@"email"] || ![grantedPermission containsObject:@"user_birthday"] || ![grantedPermission containsObject:@"user_friends"] || ![grantedPermission containsObject:@"user_posts"])
                  {
  
                      [login logInWithReadPermissions:@[@"public_profile", @"email",@"user_birthday",@"user_friends",@"user_posts"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error)
                       {
                           if(result.token)
                           {
                               [self getFacebookProfileInfos];
                           }
  
                       }];
  
                  }
                  else
                  {
                      [self getFacebookProfileInfos];
                  }
                  // There is an error here.
  
              }
  
  
          }];      
  }
  else
  {
  
      UIAlertView *alert=[[UIAlertView alloc] initWithTitle:@"Internet Connection" message:@"Please check Internet connection" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
      [alert show];
  }
  }
  &lt;/i&gt;
  </code></pre>