Add Facebook sharing for iOS #188

Closed
slodge opened this Issue Mar 13, 2013 · 4 comments

Comments

Projects
None yet
2 participants
Contributor

slodge commented Mar 16, 2013

code supplied by @jonstoneman

       var slComposer = SLComposeViewController.FromService(SLServiceType.Facebook);

            slComposer.SetInitialText(ViewModel.SharingMessage);

            slComposer.CompletionHandler += (result) => {

                 InvokeOnMainThread(() => {

                       DismissViewController(true, null);

                 } );

            } ;

            PresentViewController(slComposer, true, null);

thanks :)

Contributor

slodge commented Mar 18, 2013

Would like to see this made more general - maybe time to collapse several plugins into one - phone,sms,share - all into one assembly.

martijn00 removed the VeeThree label Jan 24, 2015

Owner

martijn00 commented Jan 24, 2015

@slodge What are the plans here currently? Xamarin has a plugin available called Xamarin.Social: http://components.xamarin.com/view/xamarin.social/
Is that sufficient enough?

martijn00 changed the title from Add Facebook sharing for ios6 to Add Facebook sharing for iOS Jan 24, 2015

Contributor

slodge commented Jan 26, 2015

I think this code above could easily be integrated just for sharing...

For larger Facebook integration, I think xam social can help with some scenarios... but I believe (gut feel) that xam.social was written back before xam discovered PCLs so I don't think it's portable (yet)

@martijn00 martijn00 added a commit to martijn00/MvvmCross that referenced this issue Dec 8, 2016

@martijn00 martijn00 Merge pull request #188 from Dexyon/master
Fixed a minor issue in the example.
33627df

martijn00 closed this Apr 29, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment