Skip to content

SocialTargetMetricsRecordedNotification

Published once for each channel of a post whose views and interactions were just recorded by the channel’s views-and-interactions automation, after they were saved.

The following properties are available within the notification

Property Name Type Use
TargetId int The post’s target on this channel.
ChannelKey Guid The channel.
Network string The channel’s network id.
State MetricsState Ok, Unavailable, Gone or NeedsPermission.
Values IReadOnlyDictionary<string, decimal> The figures as they now stand, under the network’s own names (for example likeCount). Already checked: names are letters, digits and underscores (at most 64), values are 0 or more, at most 32 of them. Only an Ok reading changes them; otherwise they’re the figures from the last good reading (none for an X post that is Gone).
FetchedUtc DateTime When they were read.

It is published from an Automate run, not a request. UmbSocial Pro uses it to keep each reading for its trends.