Skip to main content

Actions

st.retrievePostReactions

This action allows you to retrieve reactions for a certain post.

Constraints

⏺️
Root Start: allowed, when postUrl parameter is provided.
⬆️
Parent Actions: st.openPost.
⬇️
Child Actions: N/A.

Parameters

{
  "actionType": "st.retrievePostReactions",
  "postUrl": "https://www.linkedin.com/posts/post1",
  "limit": 100,
  "label": "post1Comments"
}
  • postUrl (required for root start, forbidden for parent start) – LinkedIn URL of the post.
  • limit (optional) – number of reactions to retrieve. Defaults to 10, with a maximum value of 500.
  • label (optional) – custom label for tracking this action in workflow completion.

Result options

  1. Successful reactions retrieval:

{
  "actionType": "st.retrievePostComments",
  "label": "post1Comments",
  "success": true,
  "data": [
    {
      "engagerUrl": "https://www.linkedin.com/in/john-doe",
      "engagerName": "John Doe",
      "engagerHeadline": "Product Manager",
      "engagerType": "person",
      "type": "like"
    },
    {
      "engagerUrl": "https://www.linkedin.com/in/person1",
      "engagerName": "Jane Doe",
      "engagerHeadline": "Helping companies to use AI",
      "engagerType": "person",
      "type": "support"
    }
  ]
}
  • label – included only if specified in the action parameters.
  • data – array of reactions.
    • engagerUrl – URL of the person or company.
    • engagerName – full name of the person or company.
    • engagerHeadline – headline of the person or company.
    • engagerType – the engager type. Enum with the following values:
      • person – the engager is the person.
      • company – the engager is the company.
    • type – enum describing the reaction type. Possible values:
      • like – standard "like".
      • celebrate – to celebrate an achievement.
      • support – to show support.
      • love – to express love or admiration.
      • insightful – to appreciate insightful content.
      • funny – to react to something humorous.
  1. Failed comments retrieval:

{
  "actionType": "st.retrievePostReactions",
  "success": false,
  "label": "post1"
  "error": {
    "type": "postNotFound",
    "message": "The provided URL is not an existing LinkedIn post."
  }
}
  • label – included only if specified in the action parameters.
  • error.type – enum with the following possible values:
    • postNotFound – provided URL is not an existing LinkedIn post.