
LinkedIn GetPostAnalytics
CertifiedFetch LinkedIn post reactions
LinkedIn GetPostAnalytics
Fetch LinkedIn post reactions
Retrieves reactions for one or more LinkedIn activity URNs using the REST reactions endpoint. Returns per-post totals, reaction breakdown, and actor metadata; uses LinkedIn-Version 202509 and X-Restli-Protocol-Version 2.0.0.
type: io.kestra.plugin.linkedin.GetPostAnalyticsExamples
Get reactions for multiple posts
id: linkedin_post_analytics
namespace: company.team
tasks:
- id: authenticate
type: io.kestra.plugin.linkedin.OAuth2
clientId: "{{ secret('LINKEDIN_CLIENT_ID') }}"
clientSecret: "{{ secret('LINKEDIN_CLIENT_SECRET') }}"
refreshToken: "{{ secret('LINKEDIN_REFRESH_TOKEN') }}"
- id: get_analytics
type: io.kestra.plugin.linkedin.GetPostAnalytics
accessToken: "{{ outputs.authenticate.accessToken }}"
activityUrns:
- "urn:li:activity:7374025671234244609"
Properties
accessToken *string
Access Token
OAuth2 access token sent as Bearer auth for LinkedIn REST API calls
activityUrns *array
Activity URNs
List of LinkedIn activity URNs to fetch reactions for
apiBaseUrl string
https://api.linkedin.com/restBase API URL
LinkedIn REST base URL; defaults to https://api.linkedin.com/rest
apiVersion string
202509LinkedIn API Version
LinkedIn-Version header value; defaults to 202509
applicationName string
kestra-linkedin-pluginApplication Name
Application identifier included in requests; defaults to kestra-linkedin-plugin
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150Outputs
posts array
Per-post reaction data
Reaction details for each requested activity URN
io.kestra.plugin.linkedin.GetPostAnalytics-PostReactionsData
io.kestra.plugin.linkedin.GetPostAnalytics-ReactionData
totalPosts integer
Total posts processed
Number of activity URNs for which reactions were fetched
totalReactions integer
Total reactions
Sum of reactions across all processed posts