title: FBSDKLoginManager not handling logInWithPublishPermissions: correctly
body: <p>I'm implementing v4.1 of the SDK for iOS and when I try to call for publishPermissions:, I get no callback.</p>
  
  <p>For some reason everything works perfectly when I run logInWithReadPermissions:, but when I run logInWithPublishPermissions: it never hits my response handler. Nothing happens. </p>
  
  <p>To test things out, I reset my loginManager before running logInWithPublishPermissions:, and to my surprise it worked then (aka NSLog(@"RESULT") is called).</p>
  
  <p>Am I missing something about how the loginManager works? Shouldn't I be able to use it without resetting it?</p>
  
  <pre><code>// FacebookController.m
  
  @implementation FacebookController
  
  FBSDKLoginManager *loginManager;
  static FacebookController *_shared = nil;
  
  - (id)init { 
      self = [super init];
      if (self != nil) {
          userData = [[NSMutableDictionary alloc] init];
  
          loginManager = [[FBSDKLoginManager alloc] init];
      }
      return self;
  }
  
  + (id)getInstance { 
      if (!_shared) {
          _shared = [[self alloc] init];
      }
      return _shared;
  }
  
  - (bool)hasPublishPermissions {
      FBSDKAccessToken *accessToken = [FBSDKAccessToken currentAccessToken];
  
      if(accessToken != NULL){
          NSSet *permissions = [accessToken permissions];
          if([permissions containsObject:@"publish_actions"]){
              return TRUE;
          }
      }
      return FALSE;
  }
  
  - (void)requestPublishPermissionsWithDelegate:(id)aDelegate {
      if(![self hasPublishPermissions]){
          // FOR SOME REASON IT WORKS IF I RESET LOGIN MANAGER AS FOLLOWS
          // loginManager = [[FBSDKLoginManager alloc] init]; 
  
          [loginManager logInWithPublishPermissions:@[@"publish_actions"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
              NSLog(@"RESULT: %@", result);
          }];
      }
  }
  
  - (void)connectToFacebookWithDelegate:(id)aDelegate {        
      FBSDKAccessToken *accessToken = [FBSDKAccessToken currentAccessToken];
  
      if(accessToken != nil){
          [aDelegate performSelector:@selector(facebookSignedIn)];
      } else {
          [loginManager logInWithReadPermissions:@[@"email"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
              if (error) {
                  // Process error
                  NSLog(@"ERROR");
              } else if (result.isCancelled) {
                  // Handle cancellations
                  NSLog(@"CANCELLED");
              } else {
                  NSLog(@"SUCCESS");
                  [aDelegate performSelector:@selector(facebookSignedIn)];
              }
          }];
      }
  }
  @end
  </code></pre>
  
  <p>Edit #1:
  Including videos of it working and not working for the given scenarios:</p>
  
  <p>Not working (loginManager reinitialization commented out):
  <a href="https://dl.dropboxusercontent.com/u/14277258/not-working.mov" rel="nofollow">https://dl.dropboxusercontent.com/u/14277258/not-working.mov</a></p>
  
  <p>Working (loginManager reinitialized):
  <a href="https://dl.dropboxusercontent.com/u/14277258/working.mov" rel="nofollow">https://dl.dropboxusercontent.com/u/14277258/working.mov</a></p>