title: Facebook iOS SDK 3.5 modal feed dialog loads empty in iPhone
body: <p>I use this code to present share dialog:</p>
  
  <pre><code>if (![[FBSession activeSession] isOpen]) {[self login]; return;}
  
  NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                         @"name", @"name",
                                         @"caption", @"caption",
                                         @"description", @"description",
                                         @"http://cnn.com", @"link",
                                         @"http://cnn.com/.png", @"picture",
                                         nil];
  
    [FBWebDialogs presentFeedDialogModallyWithSession:nil
                                             parameters:params
                                                handler:
       ^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
           if (error) {
               NSLog(@"Error publishing story.");
           } else {
               if (result == FBWebDialogResultDialogNotCompleted) {
                   NSLog(@"User canceled story publishing (clicked the 'x' icon)");
               } else {
                   // Handle the publish feed callback
                   NSLog(@"Handle the publish feed callback");
               }
           }
       }];
  </code></pre>
  
  <p>I have added proper entries (required according to sdk docs) to the Info.plist:</p>
  
  <p><img src="https://i.stack.imgur.com/wRxfZ.png" alt="enter image description here"></p>
  
  <p>and AppDelegate methods handling facebook redirections as well:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application
              openURL:(NSURL *)url
    sourceApplication:(NSString *)sourceApplication
           annotation:(id)annotation {
      // attempt to extract a token from the url
      return [FBAppCall handleOpenURL:url
                    sourceApplication:sourceApplication
                      fallbackHandler:^(FBAppCall *call) {
                          NSLog(@"In fallback handler");
                      }];
  }
  
  -(void)applicationWillTerminate:(UIApplication *)application{
  
      [FBSession.activeSession close];
  
  }
  </code></pre>
  
  <p>I also added frameworks required by iOS Facebook 3.5.1 SDK:</p>
  
  <p><img src="https://i.stack.imgur.com/5GkC2.png" alt="enter image description here"></p>
  
  <p><strong>It gives empty dialog box</strong> (on both - real device and simulator) with loading indicator spinning forever:</p>
  
  <p><img src="https://i.stack.imgur.com/UGUIx.png" alt="enter image description here"></p>
  
  <p>There is no error shown in logs, etc... and I can easily dismiss it (with correct handler log).</p>
  
  <p>I asume FBSession is started and opened correctly (I can authorise successfully through redirection to Safari and get back to the app - which makes me think redirections works fine).</p>
  
  <p>Why is that happening? What am I missing? And BTW: Why there are no error logs? </p>
  
  <p>This is so frustrating as I have been implementing facebook integration many times before but in this app I wanted to try the newest SDK which is advertized as: 'to be easy as never before'.</p>