Simple Facebook sharing support until API implementation

This commit is contained in:
Jaex 2014-06-28 10:36:28 +03:00
parent d65b7fb150
commit 67969f098f
2 changed files with 5 additions and 0 deletions

View file

@ -1024,6 +1024,9 @@ public void DoSocialNetworkingService()
}
}
break;
case SocialNetworkingService.Facebook:
URLHelpers.OpenURL("https://www.facebook.com/sharer/sharer.php?u=" + url);
break;
case SocialNetworkingService.GooglePlus:
// The Google+ API currently provides read-only access to public data. So sharing with API not possible yet.
URLHelpers.OpenURL("https://plus.google.com/share?url=" + url);

View file

@ -142,6 +142,8 @@ public enum SocialNetworkingService
{
[Description("twitter.com")]
Twitter,
[Description("facebook.com")]
Facebook,
[Description("plus.google.com")]
GooglePlus
}