title: Facebook SDK: openActiveSessionWithPermissions completionHandler not called
body: <p>Using the code from Facebook I have implemented </p>
  
  <pre><code>- (BOOL)openSessionWithAllowLoginUI:(BOOL)allowLoginUI {
      NSArray *permissions = [[NSArray alloc] initWithObjects:
      @"publish_actions", 
      nil];
  
      return [FBSession openActiveSessionWithPermissions:permissions
                                        allowLoginUI:allowLoginUI
                                   completionHandler:^(FBSession *session,
                                                       FBSessionState state,
                                                       NSError *error) {
     NSLog(@"error %@", error);                                     
      [self sessionStateChanged:session
                          state:state
                          error:error];
                                   }];
  }
  </code></pre>
  
  <p>It returns NO which I understand because it's a first time login, and the loginUI works (it sends the user to FB and asks them to give permissions) and then returns but completionHandler block is never ever run. It just returns to the app and nada.</p>