Posts

List reactions on a LinkedIn post

Returns the individual reactions LinkedIn holds for a post published through PostZen, plus a per-type count of the returned page. LinkedIn only, and organization (company page) posts only. The post's LinkedIn connection must hold r_organization_social_feed, which LinkedIn ships with its Community Management API product. Not available yet: company-page posting is waiting on LinkedIn's approval of PostZen's Community Management API access, and until then this endpoint returns 403 orgScopesDisabled. A personal (member) post always returns 403 personalPostUnsupported: reading a member's own comments and reactions needs r_member_social_feed, which LinkedIn grants to select developers only. Read-only and read-write API keys are accepted.

get/v1/posts/{postId}/reactions

Request

  • Base URL: https://api.postzen.dev
  • URL: https://api.postzen.dev/v1/posts/{postId}/reactions
  • Auth: HTTP bearer

Query parameters

accountIdstring

Restrict the lookup to one LinkedIn target when the post was published to several LinkedIn accounts. PostZen account id.

cursorstring

Opaque pagination cursor. Pass the nextCursor from the previous response to fetch the next page.

limitinteger

Page size.

Response

Reactions returned.

totalsByTypeobject required

Reaction count keyed by reaction type, tallied from the reactions in this response. Sum the pages yourself for a whole-post total.

nextCursorstring

Present when more reactions are available. Pass it back as cursor to fetch the next page.

Changes

No recorded changes to this operation across all 1 revision of this API.