Thanks for getting back
I have modified the sub request:
POST /helix/webhooks/hub HTTP/1.1
Host: api.twitch.tv
Content-Type: application/json
Authorization: Bearer lpXXXXpmu
{
"hub.callback":"https://tgXXXXns.azurewebsites.net/api/TwitchStreamChange",
"hub.mode":"subscribe",
"hub.topic":"https://api.twitch.tv/helix/streams?user_id=43XXXX2",
"hub.lease_seconds":"864000",
"hub.secret":"0XXXXr9g"
}
202 Accepted Received
I am sending the following and get back the top 20 live and the pagination. If I provide the user_id as a querystring parameter it will return just the streamer payload if they are live or an empty one if they are not. Should I send the user_id or does that not matter?
GET /helix/streams?hub.challenge=MIFpXXXXgCwGiFBatkS7 HTTP/1.1
Host: api.twitch.tv
Content-Type: text/plain
Authorization: Bearer lp1XXXXay8epmu
I still have an empty sub list:
{
“total”: 0,
“data”: ,
“pagination”: {}
}