0

I have shared few posts to Facebook,Google+ and Twitter from my iOS application.How can I open my app when users click on those posts I have shared?I have used UIActivityViewController for sharing.

akhiljij
  • 277
  • 1
  • 9
  • 4
    Possible duplicate of [Possible to handle your own http URL schemes in iOS?](http://stackoverflow.com/questions/4403992/possible-to-handle-your-own-http-url-schemes-in-ios) – Marcus Adams Oct 12 '16 at 12:30

1 Answers1

0

For Facebook you should use app links: https://developers.facebook.com/docs/applinks/ios. You can host links to your app with their hosting - https://developers.facebook.com/quickstarts/?platform=app-links-host For Twitter you should use https://dev.twitter.com/cards/mobile/deep-linking but need the server side(hosting) with tags for link. Also, with default UIActivityViewController you cant do this.

Andrew Veresov
  • 321
  • 1
  • 6