Skip to content

SocialPost

The SocialPost object (UmbSocial.Core.Models) contains the below properties

Property Name Type Use
Id int The post’s database id.
Key Guid The post’s key, used by the services and the API.
Text string The main text.
LinkUrl string? The link (absolute https).
LinkTitle string? The link’s title.
LinkDescription string? The link’s description.
LinkImageUrl string? The link card’s image (absolute https).
MediaKey Guid? The image, as an Umbraco media item key.
ImageAltText string? The image’s alt text.
ImageFraming ImageFraming? The image’s focal point and each network’s own crop.
Status PostStatus The post’s overall status, worked out from its targets.
ScheduledForUtc DateTime? When it goes (or went) out, in UTC. null for a draft.
Origin PostOrigin Where it came from. Posts written by people are Manual.
CreatedByUserKey Guid The backoffice user who created it.
ApprovedByUserKey Guid? Who approved it (approval workflow, Pro).
CreatedUtc DateTime When it was created.
UpdatedUtc DateTime When a person last changed it.
PublishedUtc DateTime? When it was first published on every channel.
SealedUtc DateTime? When the free edition’s history window sealed it, or null.
SealedContent string? The encrypted content of a sealed post. Only the licensed Pro package can open it.
ConcurrencyStamp Guid Renewed on every save, so a change based on an older read fails instead of overwriting a newer one.
Targets List<SocialPostTarget> The post on each of its channels.

When a post is sealed, its content properties (Text, the link fields, MediaKey, ImageAltText) are blanked. Sealed posts are never returned by the post service. See Editions and licensing.