I have an application which announces streams on twitch. I’m using the streams endpoint to do so and it was using the user_login
parameter. I’ve recently changed this so it is using the user ids with the user_id
parameter.
Since I’ve changed it, i’ve occured a strange behavior. Sometimes when a streamer is announced, in the next check it is said that the streamer went offline even though he didn’t. And then the stream is announced again. I have checked my logs and twitch does indeed skip a streamer now and then.
To visualize: here a very simplifyed and anonymized log:
Autocheck at 11/03/2021 19:18:51
"data":
[
{
"user_login": "1",
},
{
"user_login": "2",
},
{
"user_login": "3",
}
]
Autocheck at 11/03/2021 19:19:21
"data":
[
{
"user_login": "1",
},
{
"user_login": "2",
}
]
Autocheck at 11/03/2021 19:19:51
"data":
[
{
"user_login": "1",
},
{
"user_login": "2",
},
{
"user_login": "3",
}
]
I’ve checked the queries as well and no id is skipped in the query. Is this an oversight on my end?