# How to read chat comments on someone else's live stream video?

**URL:** <https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731>\
**Category:** Chat and IRC\
**Created:** [January 27, 2019, 7:01pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731 "2019-01-27T19:01:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![srk3141](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@srk3141](https://staging-discuss.dev.twitch.com/u/srk3141)\
**Post date:** [January 27, 2019, 7:01pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/1 "2019-01-27T19:01:12Z")

</div>

I am trying to build a small application in which users can input a channel id and see some metrics based on the chat of a live video. My specific question is, Is there a reference in the API or a way to use IRC API to read chat messages for a given channel or id?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [January 27, 2019, 8:55pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/2 "2019-01-27T20:55:55Z")

</div>

You would have to connect to chat via IRC and read and store messages in real time.

There is no historical data api’s available for chat.

---

<div class="post-metadata">

**Author:** ![Rosuav](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/rosuav/32/5760_2.png) [@Rosuav](https://staging-discuss.dev.twitch.com/u/Rosuav)\
**Post date:** [February 4, 2019, 2:23pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/3 "2019-02-04T14:23:47Z")

</div>

You can’t get that via IRC, but “chat replay” is available for VODs in the v5 API. I don’t think it’s available in Helix yet though. Here’s an example of downloading all chat and saving it into a JSON file:

> <https://github.com/Rosuav/MegaClip/blob/master/megaclip.py#L53>

Be aware that the chat replay might include messages that were added to the VOD itself, and will _not_ include any messages that were purged as a result of moderator action.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 4, 2019, 2:29pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/4 "2019-02-04T14:29:29Z")

</div>

Chat replay is an undocumented unsupported end point and ought not to be used by third parties

---

<div class="post-metadata">

**Author:** ![Rosuav](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/rosuav/32/5760_2.png) [@Rosuav](https://staging-discuss.dev.twitch.com/u/Rosuav)\
**Post date:** [February 4, 2019, 2:32pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/5 "2019-02-04T14:32:04Z")

</div>

Oh. Thanks for that info. 😑 It’d be well worth having an actual supported way to do this; are there any plans?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 4, 2019, 2:39pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/6 "2019-02-04T14:39:47Z")

</div>

There is nothing in the road map at this time

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [March 6, 2019, 2:52pm UTC](https://staging-discuss.dev.twitch.com/t/how-to-read-chat-comments-on-someone-elses-live-stream-video/19731/7 "2019-03-06T14:52:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
