
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 *Requiredstring
Access Token
OAuth2 access token sent as Bearer auth for LinkedIn REST API calls
activityUrns *Requiredarray
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
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
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