title: Get blank page while log in, share and like with Facebook SDK on iOS 10 with Facebook SDK 4.15.1
body: <p>I get this error when using FBSDKLoginKit, FBSDKShareKit,  to login, share link and like a link in my application. 
  I using FBSDKLoginButton to login</p>
  
  <pre><code> @property (nonatomic, strong) IBOutlet FBSDKLoginButton *loginButton;
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  
      self.loginButton.publishPermissions = @[@"publish_actions"];
  }
  </code></pre>
  
  <p>Using FBSDKShareKit to share: </p>
  
  <pre><code>- (FBSDKShareDialog *)getShareDialogWithContentURL:(FBSDKShareLinkContent *)content
  {
      FBSDKShareDialog *shareDialog = [[FBSDKShareDialog alloc] init];
      shareDialog.shareContent = content;
      return shareDialog;
  }
  
  - (IBAction)ShareAppOnFB:(UIButton *)sender {
  
          FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
          FBSDKShareDialog *facebookShareDialog = [self getShareDialogWithContentURL:content];
  
          if ([facebookShareDialog canShow]) {
              [FBSDKShareDialog showFromViewController:self.parentViewController
                                           withContent:content
                                              delegate:self];
          }
  
  }
  </code></pre>
  
  <p>Using FBSDKShareKit to Like: </p>
  
  <pre><code>FBSDKLikeButton *like = [[FBSDKLikeButton alloc] init];
  like.objectID = @"";
  like.frame = CGRectOffset(like.frame, 50, 100);
  [self.view addSubview:like];
  </code></pre>
  
  <p>Everything work fine on iOS 9 and iOS 8, but when I upgrade into Xcode 8 and run on iOS 10, I get a blank page right away when tap on Login, Share and Like Button, and nothing happens after that. I tried to upgrade to Facebook SDK 4.15.1 but nothing better, this bug still happens. Anyone know how to fix this bug on iOS 10?</p>