App Logo
linkedin.com

Get LinkedIn newsletter edition comments

Get the comments of a LinkedIn newsletter edition by permalink, loading up to maxComments top-level threads and each commenter's profile. Returns total and comments (urn, name, headline, profileUrl, postedAgo, text, reactions, nested replies, hasMoreReplies). The default 'relevant' sort hides low-engagement comments - use 'recent' to reach every comment; older replies behind 'See previous replies' stay unloaded (flagged by hasMoreReplies).

Input

editionUrl required

LinkedIn newsletter edition permalink, e.g. https://www.linkedin.com/pulse/<slug>-<code>/. Query string is stripped.

sort optional

Comment sort, mirroring the edition's own dropdown. 'relevant' is LinkedIn's default but returns a relevance-filtered subset (low-engagement comments are hidden); 'recent' shows all comments newest-first and is the only way to reach every comment.

Default: "relevant"
maxComments optional

Maximum top-level comment threads to return. The script wheel-scrolls until this many are loaded or the edition has no more; higher values cost proportionally more time.

Default: 10

Output

total required

Edition-level comment count (includes replies). 0 when the social bar shows none.

comments required

Start building not clicking