Open crunchprank opened 4 years ago
Mhmm, I've tried to look into this and I couldn't replicate the exact setup you had, probably because I don't follow enough channels on my account to be able to show this effect. Though I have been able to reproduce a similar behaviour just in general.
It seems twitch has an issue with their API where generally smaller streams kind of just disappear from the api results. Your situation seems a bit extreme though, but I think it's definitely related.
It might be possible to partially work around this issue, by specifying the stream ids you want. So instead of getting followed streams, you supply a list of channel ids instead and get a list of the live channels in return. This should work with at least up to 100 channels, but I don't know if pagination works the same why as just getting followed streams. Though you can still search for a specific game.
Though I should also note that I'm not certain the above will work, but doing that way have fixed some issues other people were having with the twitch api.
Environment OS: CentOS 7 PHP: 7.3.13 Apache: 2.4.6
Issue When you specify to use the
only_followed_default
option and search for a specific game, the results seem to sporadically be displayed across multiple pages. For example, the first page may have one or two streams, but then if you click Next, page two will have maybe three or four streams, etc.Expected Behavior When using
only_followed_default
, all streamers should show up as consolidated across the multiple pages as possible.Reproduce
config.php
file and add your validoauth
token and setonly_followed_default
totrue
.Dead by Daylight
for an example)Additional Information