3
votes

I am working on a app that capable of share images through Facebook, Twitter, Instagram. I have integrated Facebook login for the app by using Facebook ios SDK. What is the best approach to enable social sharing,

  1. Use three SDKs for ios, or
  2. Use apple social media framework integration
3
The Social Framework allows you to share via Facebook and Twitter. For Instagram you'll need to use an UIActivity​View​Controller. Really depends on how much control and how many options you'd like. If all you want to do is share something then I'd suggest the Social Framework. - Daniel Storm
You can get your answer for sharing with FACEBOOK on this link :stackoverflow.com/questions/29363490/… - Sarat Patel

3 Answers

3
votes

You can also try to use ShareKit (link to GitHub) which allows to work with a lot of services to share content.

1
votes

For sharing images on your facebook wall you can use apple social media framework i.e. SLComposeViewController class

While sharing on your friend's wall use SDK provided by Facebook developers

Hope it helps you.

1
votes

For facebook and twitter sharing you can use Social framework.But for the instagram sharing you have to use UIActivityViewController.

Follow the link for facebook and twitter sharing:

how to share content on facebook, twitter and instagram using SLComposeViewController swift

100% working and easy steps