SplatDev.Umbraco.Plugins.SocialMedia.Share 2.2.2

dotnet add package SplatDev.Umbraco.Plugins.SocialMedia.Share --version 2.2.2
                    
NuGet\Install-Package SplatDev.Umbraco.Plugins.SocialMedia.Share -Version 2.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SplatDev.Umbraco.Plugins.SocialMedia.Share" Version="2.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SplatDev.Umbraco.Plugins.SocialMedia.Share" Version="2.2.2" />
                    
Directory.Packages.props
<PackageReference Include="SplatDev.Umbraco.Plugins.SocialMedia.Share" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SplatDev.Umbraco.Plugins.SocialMedia.Share --version 2.2.2
                    
#r "nuget: SplatDev.Umbraco.Plugins.SocialMedia.Share, 2.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SplatDev.Umbraco.Plugins.SocialMedia.Share@2.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SplatDev.Umbraco.Plugins.SocialMedia.Share&version=2.2.2
                    
Install as a Cake Addin
#tool nuget:?package=SplatDev.Umbraco.Plugins.SocialMedia.Share&version=2.2.2
                    
Install as a Cake Tool

SocialMedia.Share

Umbraco social sharing buttons plugin — generate share URLs for Facebook, Twitter, LinkedIn, WhatsApp, and Email with configurable display options.

SocialMedia.Share dashboard

NuGet

Compatibility

Umbraco .NET Package Version
13.x 8.0 2.2.2
17.x 10.0 2.2.2

Installation

dotnet add package SplatDev.Umbraco.Plugins.SocialMedia.Share

Quick Start

The plugin auto-registers via ShareComposer. Inject IShareService or call the API directly.

Configuration

Add to appsettings.json:

{
  "SocialMedia": {
    "Share": {
      "EnabledPlatforms": ["Facebook", "Twitter", "LinkedIn", "WhatsApp", "Email"],
      "ShowLabels": true
    }
  }
}

Supported platforms: Facebook, Twitter, LinkedIn, WhatsApp, Email.

API Endpoints

Method Route Description
GET /umbraco/api/ShareApi/GetShareLinks?pageUrl=&pageTitle= Returns share URLs for enabled platforms

Usage

// Fetch share links from API
fetch('/umbraco/api/ShareApi/GetShareLinks?pageUrl=' + encodeURIComponent(location.href) + '&pageTitle=' + encodeURIComponent(document.title))
    .then(r => r.json())
    .then(links => {
        // Render share buttons using the returned URLs
        links.forEach(platform => { /* render share button */ });
    });

Known Limitations

  • Only generates share URLs — does not perform actual posting or track share analytics
  • No built-in front-end rendering; consumers must call the API and render buttons themselves
  • Default platforms are hardcoded as Facebook, Twitter, LinkedIn, WhatsApp, Email if no config section is provided

Changelog

2.2.2 — 2026-08-26

Fixes a duplicate registration on sites that still have a physical App_Plugins folder for this plugin, left behind by an older release that copied content into the site. Umbraco registered those extensions twice - once from its own scan of the folder, once from this package's embedded manifest - and logged "Extension with alias ... is already registered". The embedded manifest now yields to the physical copy.

2.2.1 — 2026-08-24

Package metadata only: the listing now carries an icon and search tags, and the project and repository links point at the organisation that actually hosts this code. No code changes.

2.2.0 — 2026-08-23

The Umbraco Marketplace listing now carries this plugin's screenshots. The listing keeps its own screenshot list rather than reading the README, and this one was empty — so the entry showed no images at all.

2.1.4 — 2026-08-21

  • README now shows a screenshot of the dashboard.

License

MIT © SplatDev

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.2 141 8/27/2026