I want to subscribe to multiple streamers instead of just one, not sure the command to do this, tried adding the extra id to the end of the hub.topic but it died. my axios call is below.
i tried doing something like …“hub.topic”: ‘https://api.twitch.tv/helix/streams?user_id=14827261,240377874’
this was based off of an old post but im sure its no longer relevant and that was also using kraken not helix.
axios({
method: 'post',
url: 'https://api.twitch.tv/helix/webhooks/hub',
headers: {'client-ID': 'some cool client id number'},
data: {
"hub.callback": `http://${keys.baseCallback}/api/twitch/callback`,
"hub.mode": 'subscribe',
"hub.topic": 'https://api.twitch.tv/helix/streams?user_id=14827261',
"hub.lease_seconds": 10000,
"hub.secret": 'my super cool secret code'
}
})