Comment by Xenc on 19/11/2020 at 16:14 UTC

3 upvotes, 1 direct replies (showing 1)

View submission: Deprecating community chat rooms

View parent comment

Is there a way I’m missing to access those via API? I understand Reddit Chat was reverse engineered. That would be invaluable for live discussions too, especially where reacting to user content is involved. Thanks for any info you can share.

Replies

Comment by haykam821 at 19/11/2020 at 16:20 UTC

3 upvotes, 1 direct replies

`GET https://gateway.reddit.com/desktopapi/v1/postcomments/<id>`[1] where the JSON response has `.posts[id].liveCommentsWebsocket` as a URL

1: https://gateway.reddit.com/desktopapi/v1/postcomments/t3_jwme40