0

I want to share a content with an image, an url of my app on store and a caption of image. I tried to using SLComposeViewController, but it not working on iOS 8. I tried to using FaceBook share link, but it need an image url. How can I share image + url + text without any server to store image? Thanks all!

eric long
  • 640
  • 5
  • 16

1 Answers1

2

Due to FB policy is not possible to autofill the text of a share sheet using SLComposeViewController or UIActivityViewController. It seems to be still possible to share a link.
The behavior seems to be different if you have the official FB app installed:

  • If it is installed you can't add text
  • If not you can The only solution seems to implement the official library, is really a pity!!
Community
  • 1
  • 1
Andrea
  • 26,120
  • 10
  • 85
  • 131
  • If using FaceBook Share Link content, how to have image URL if not use third party? thank you! – eric long Oct 02 '15 at 08:05
  • Could you elaborate? I didn't get – Andrea Oct 02 '15 at 09:10
  • I'm try to using FBSKShareLinkContent but it need image's url. Could you give me any solution to do that? – eric long Oct 02 '15 at 09:12
  • The Facebook library can share simple images taken from camera roll or inside your app without a URL with FBSKPhoto. I think you should read the documentation https://developers.facebook.com/docs/sharing/ios – Andrea Oct 02 '15 at 09:44