Facebook, twitter and mail share without UIActivityViewController on iOS - ios

I want my app users to be able to share stuff on facebook, twitter and mail but I do not want to show the UIActivityViewController..
So I want to have seperate buttons for different share types (fb, twitter, mail) instead of just one share button, and show directly the share dialog.
Is there a way of doing this?
Thank you..

yes there are different way to do it.there is build in framework for it...
SLComposeViewController /// for facebook and twitter
and
MFMailComposeViewController /// for Email
check this link here for facebook and twitter
and for sharing with Email check here

Related

Custom share on Twitter

Is it possible to make custom share (Image with text) on Twitter without composeview in ios(Swift). Which Api need to use for post? (Eg: Instagram share for facebook, twitter).
Gratitude for your Help! Thanks

Share custom url in iOS

I implement custom Url say SomeURL:// into my app.
But if I shared this link to some website or email, say Twitter then user will not able to click on this link & open my app.
Twitter is show as following
How can I achieve this?
Help me
Thanks

Adding a Facebook like button to our App

In my app I am allowing users to post to Facebook via the iOS API as follows:
SLComposeViewController * controllerSLC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
I would like to add a Facebook 'Like' button for users who want to like our App. I have a couple questions:
1) Can a Facebook Like be accomplished using the Native iOS SDK? I could not find any reference so my assumption is no, but I was hoping for some clarification.
2) If I want a user to like our app on our Facebook home page, I believe the user has to be logged in to their account. SO, if the user is signed into Facebook on their device can I integrate the Facebook API's to that so the user does not have to log in again? I cannot find any solid iOS example of adding a like button to my app.
Thanks for any guidance.
There is a native like button under testing and you can find the documentation about it at https://developers.facebook.com/docs/ios/like-button . But be aware that only people will have a role on the app will see it so you can't currently use it.
If you are showing a webview the user will not be logged in in that webview even if they are logged in in the Facebook app. Same thing with redirecting to the browser. If the user is logged in in the Facebook app doesn't mean they will be logged in in the browser.

How to open Facebook, Twitter, or email for share message or photo without using UIActivityViewController

I have custom buttons and when a button is clicked, it should open the Facebook, Twitter, or email for sharing a message or photo. It's just like to open the UIActivityViewController and click the Facebook, Twitter, or email. How I can do that without using UIActivityViewController. Thanks.
Facebook (here)
Twitter (here)
Email (here)
If you really need to share all 3 separately follow this links above. If you're a starter and have a limited time making your app, I suggest you use UIActivityViewController, just create a share button that opens UIActivityViewController
For Facebook message posting go here: http://www.geekylemon.com/xcode-facebook-posting
For Facebook image posting go here: http://www.geekylemon.com/xcode-facebook-image-posting
For Twitter posting go here: http://www.geekylemon.com/xcode-twitter
For Email go here: http://www.geekylemon.com/WEBPROTECT-xcodeinappemail.htm

Facebook app API key and UIActivityViewController

Is it possible to supply a Facebook API Key when posting to Facebook from a UIActivityViewController?
If not, then how would it be possible to add the Facebook SDK to be used with the UIActivityViewController?
I basically want to use the share sheet to make a facebook post, but want it to have Deep Linking with my app.
Possible?
I'm not sure if it is possible but you might look into OvershareKit https://github.com/overshare/overshare-kit
It allows for sharing on many different mediums but it also handles the Facebook API sharing using a Facebook API key instead of using the UIActivityViewController built-in methods.

Resources