title: Facebook SDK Share Image with Text
body: <p>Prior to using Facebook SDK we used to share via UIActivityViewController since Facebook does not allow for us to pre-fill information on the user sharing, our solution was to use information the user description of the Image being share <code>UIPasteboard.general.string</code>. So the app would switch to the messenger and the user could paste. This worked just fine until we started using the Facebook SDK.</p>
  
  <p>Now it seems that the <code>UIPasteboard.general.string</code> is reset when it opens up messenger and we no longer can get the image description copied to the clipboard.</p>
  
  <p>This is how I'm sharing to messenger:</p>
  
  <pre><code>let sharePhoto = FBSDKSharePhoto()
  sharePhoto.image = image
  
  let content = FBSDKSharePhotoContent()
  content.photos = [sharePhoto]
  
  FBSDKMessageDialog.show(with: content, delegate: delegate)
  </code></pre>