# Viewing subs : missing scope

**URL:** <https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019>\
**Category:** API\
**Created:** [July 12, 2017, 9:01pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019 "2017-07-12T21:01:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mistercraft](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/mistercraft/32/4318_2.png) [@Mistercraft](https://discuss.dev.twitch.com/u/Mistercraft)\
**Post date:** [July 12, 2017, 9:01pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019/1 "2017-07-12T21:01:30Z")

</div>

Hi,  
The channel where work my bot recently became partner…  
So I wanted to add alerts when someone subscribe.  
But either with PubSub or with the way to just get subs list, I miss something to see that… How can I find this something, and how can I tell that to twitch, if possible with the two ways (PubSub and simple https request)…  
Sorry for my English 🙂  
Thanks for helping

---

<div class="post-metadata">

**Author:** ![matt\_thomas](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/matt_thomas/32/710_2.png) [@matt\_thomas](https://discuss.dev.twitch.com/u/matt_thomas)\
**Post date:** [July 12, 2017, 10:45pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019/2 "2017-07-12T22:45:09Z")

</div>

The owner of the channel has to give you an oauth token with the scope to see subscribers.

> channel\_subscriptions

---

<div class="post-metadata">

**Author:** ![Mistercraft](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/mistercraft/32/4318_2.png) [@Mistercraft](https://discuss.dev.twitch.com/u/Mistercraft)\
**Post date:** [July 13, 2017, 7:59pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019/3 "2017-07-13T19:59:12Z")

</div>

The oauth is the string that you can get on [Twitch.tv](http://Twitch.tv), where you have to put your site url or local host right ?

---

<div class="post-metadata">

**Author:** ![matt\_thomas](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/matt_thomas/32/710_2.png) [@matt\_thomas](https://discuss.dev.twitch.com/u/matt_thomas)\
**Post date:** [July 13, 2017, 8:56pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019/4 "2017-07-13T20:56:49Z")

</div>

When you register an application to get a client ID you put in a return path, when you are doing authentication against twitch and select scopes that return path will include the generated oAuth, if that’s what you are asking.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [August 12, 2017, 8:56pm UTC](https://discuss.dev.twitch.com/t/viewing-subs-missing-scope/11019/5 "2017-08-12T20:56:58Z")

</div>

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