snoowrap icon indicating copy to clipboard operation
snoowrap copied to clipboard

How to get all parent comment from a thread

Open tnm0113 opened this issue 3 years ago • 0 comments

Hi all, I have a thread like that: Submission |--Comment 1 ---|--Comment 2 ------|--Comment 3 If i have id of comment 3, how can i get the above ones. I know i can get parent recursively but i can't find property to distinguish between comment and submission. And do we have better way to do that ? Tks

tnm0113 avatar Aug 20 '21 02:08 tnm0113