Hello !
I’m trying to use this route https://dev.twitch.tv/docs/api/reference#get-broadcaster-subscriptions
.
I don’t have any problem when I’m calling with
curl -X GET 'https://api.twitch.tv/helix/subscriptions?broadcaster_id=*channel_id*&first=20' \
But when I try to add the parameter after
with a value 0 or more I’m getting an Internal Server Error
Is it because the user have a total value of subscriber = 0 ?
after
should be the pagination token from (aka cursor
) the previous request.
And sure there is no page 2 if you have no subs
1 Like
Oh thanks I thought it was a number like offset
or similar. So the first request shouldn’t have any after
parameter
Kraken used offset
helix uses a different method for pagination. (cursor
in the previous request used to after
for the next page)
1 Like
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.