title: iOS Facebook Share with Link, Photo and Description in the same share dialog
body: <p>After the iOS 11 relase, the SLComposeViewController is depraceted/not allowed sharing. So iOS developers have to use native Facebook and Twitter SDK to share content. And my problems is raising from this point.</p>
  
  <p>I have been developing a new app which is needed facebook sharing with link, photo and description.  i have done separately sharing with photo or link with native FBSDK. But i want to ask you, anyone know how can i use photo and link and description in the same Facebook Dialog. Because in my scenario, i have to share discount detail with discounting shop web site(<a href="https://emregurses.com/....../shoes" rel="nofollow noreferrer">https://emregurses.com/....../shoes</a>), and discount foto(shoes or bag) and the detail text(Hurry up, you can buy until the midnight)</p>
  
  <p>You can see below codes which i use to share separately.</p>
  
  <p><strong>Photo Share</strong></p>
  
  <pre><code>FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
  shareButton = [[FBSDKShareButton alloc] init];
  
  
  if (shareImage) {
      FBSDKSharePhoto *sharePhoto = [[FBSDKSharePhoto alloc] init];
      sharePhoto.caption = facebookTitle;
      sharePhoto.image = shareImage;
  
      FBSDKSharePhotoContent *content = [[FBSDKSharePhotoContent alloc] init];
      content.photos = @[sharePhoto];
  }
  
  shareButton.shareContent = content;
  [shareButton sendActionsForControlEvents: UIControlEventTouchUpInside];
  </code></pre>
  
  <p><strong>Link Share</strong></p>
  
  <pre><code>FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
      shareButton = [[FBSDKShareButton alloc] init];
  
      if (facebookUrl) {
          content.contentURL = [NSURL URLWithString:facebookUrl];
      }else{
          content.contentURL = [NSURL URLWithString:@"https://fastpay.com.tr/"];
      }
  
      shareButton.shareContent = content;
      [shareButton sendActionsForControlEvents: UIControlEventTouchUpInside];
  </code></pre>
  
  <p>But i want to share all of them in the same FBShare dialog as the before SLComposeViewController. Also imageURL property is deprecated the new SDK. </p>
  
  <pre><code>@property (nonatomic, readonly) NSURL *imageURL
    DEPRECATED_MSG_ATTRIBUTE("`imageURL` is deprecated from Graph API 2.9");
  </code></pre>