# How to connect webhook for livestream view count fetch

**URL:** <https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682>\
**Category:** API\
**Created:** [February 22, 2023, 6:10am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682 "2023-02-22T06:10:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharayu\_Faye](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/sharayu_faye/32/22835_2.png) [@Sharayu\_Faye](https://staging-discuss.dev.twitch.com/u/Sharayu_Faye)\
**Post date:** [February 22, 2023, 6:10am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682/1 "2023-02-22T06:10:18Z")

</div>

how to connect webhook for livestream view count fetch , also I’m unable to create webhook callback url for [Managing Subscriptions | Twitch Developers](https://dev.twitch.tv/docs/eventsub/manage-subscriptions/)

---

<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 22, 2023, 9:19am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682/2 "2023-02-22T09:19:26Z")

</div>

View count is not available via EventSub you would have to poll Get Streams

> **[Reference](https://dev.twitch.tv/docs/api/reference/#get-streams)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

---

<div class="post-metadata">

**Author:** ![Sharayu\_Faye](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/sharayu_faye/32/22835_2.png) [@Sharayu\_Faye](https://staging-discuss.dev.twitch.com/u/Sharayu_Faye)\
**Post date:** [February 22, 2023, 9:56am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682/3 "2023-02-22T09:56:10Z")

</div>

I want counts (like,view,comment) from livestreaming videos , is it possible?if yes, then can you please let me know the way to connect webhook to that api , I’m not getting any solution to create webhook callback url

---

<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 22, 2023, 9:57am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682/4 "2023-02-22T09:57:59Z")

</div>

> [@Sharayu\_Faye](#):
>
> like

Twitch doesn’t have “likes”

> [@Sharayu\_Faye](#):
>
> view

View counts are abailable from the Get Streams API I already linked

> [@Sharayu\_Faye](#):
>
> comment

Twitch is live stream only so “comments” only exist as “live chat” on a live stream.  
You’d have to connect to and read fron chat in real time for chat.

> [@Sharayu\_Faye](#):
>
> if yes, then can you please let me know the way to connect webhook to that api

This information is not available via a web hook

> [@Sharayu\_Faye](#):
>
> I’m not getting any solution to create webhook callback url

You create the WebHook callback URI, WebHooks are a URL on a server you control that a service will POST data to

---

<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 24, 2023, 9:58am UTC](https://staging-discuss.dev.twitch.com/t/how-to-connect-webhook-for-livestream-view-count-fetch/43682/5 "2023-03-24T09:58:03Z")

</div>

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