linkedin.com
Get LinkedIn newsletter edition comments
Input
editionUrl requiredLinkedIn newsletter edition permalink, e.g. https://www.linkedin.com/pulse/<slug>-<code>/. Query string is stripped.
sort optionalComment 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 optionalMaximum 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: 10Output
total requiredEdition-level comment count (includes replies). 0 when the social bar shows none.
comments required