Added Reddit support

This commit is contained in:
Jaex 2014-07-07 04:44:54 +03:00
parent b287c4d346
commit 2dc782c990
2 changed files with 5 additions and 0 deletions

View file

@ -1046,6 +1046,9 @@ public void DoSocialNetworkingService()
case SocialNetworkingService.VK:
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
break;
case SocialNetworkingService.Reddit:
URLHelpers.OpenURL("http://www.reddit.com/submit?url=" + encodedUrl);
break;
case SocialNetworkingService.Pinterest:
URLHelpers.OpenURL(string.Format("http://pinterest.com/pin/create/button/?url={0}&media={0}", encodedUrl));
break;

View file

@ -152,6 +152,8 @@ public enum SocialNetworkingService
GooglePlus,
[Description("VK")]
VK,
[Description("Reddit")]
Reddit,
[Description("Pinterest")]
Pinterest,
[Description("Delicious")]