title: IOS - FB sharing opens safari dialog box for login
body: <p>So, in my app I can successfully share content. I have a question though.</p>
  
  <ol>
  <li>User has not logged in FB from anywhere in the app </li>
  <li>User has the FB app installed on his phone.</li>
  <li>When I click share, I am being prompted to login using the FB in safari.</li>
  </ol>
  
  <p>Can I skip no.3? And let the user get the login details from FB app on his phone?</p>
  
  <p>All I do for sharing is :</p>
  
  <pre><code>-(void) userTappedOnFBLink:(UIGestureRecognizer*)gestureRecognizer
  {
      NSLog(@"FB share");
  
      FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
      content.contentURL = [NSURL URLWithString:SHARE_URL];
  
      [FBSDKShareDialog showFromViewController:self.parentViewController
                                   withContent:content
                                      delegate:self];
  }
  </code></pre>