mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Simple Facebook sharing support until API implementation
This commit is contained in:
parent
d65b7fb150
commit
67969f098f
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -142,6 +142,8 @@ public enum SocialNetworkingService
|
|||
{
|
||||
[Description("twitter.com")]
|
||||
Twitter,
|
||||
[Description("facebook.com")]
|
||||
Facebook,
|
||||
[Description("plus.google.com")]
|
||||
GooglePlus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue