CData Python Connector for LinkedIn Marketing Solutions

Build 25.0.9454

SocialActions

Provides access to engagement data, including likes, comments, and shares, for both personal and organizational posts.

Select

The connector will use the LinkedIn Marketing Solutions API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the connector.

  • UGCPostId supports the '=, IN' comparisons.

For example, the following queries are processed server side:

SELECT * FROM SocialActions WHERE UGCPostId = 'urn:li:share:12345'

SELECT * FROM SocialActions WHERE UGCPostId IN ('urn:li:share:12345', 'urn:li:share:23456')

Columns

Name Type References Description
TotalFirstLevelComments Integer Total number of first-level comments directly made on the post.
AggregatedTotalComments Integer Total number of comments on the post, including both first-level and nested replies.
LikedByCurrentUser Boolean If the value is 'true', the current user has liked the post; if 'false', they have not.
TotalLikes Integer Total number of likes the post has received from all users.
Target String Identifier of the post, article, or entity on which the social action was performed.
UGCPostId String

Posts.Id

Unique identifier of the user-generated content (UGC) post associated with the social action data.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454