Hi there, I am using the New Twitch API to investigate some engagement stats on a certain game.
Overall things are working well, but at some point when I try get a list of all related videos I get:
{"error":"Bad Request","status":400,"message":"{\n \"error\": \"Invalid value for offset: 1020\",\n \"message\": \"Invalid value for offset: 1020\",\n \"status\": 400\n}
You get this when running for instance in Terminal:
curl -H 'Client-ID: afogptx4n2eq4aszz2snqv5lvuk5en' \
-X GET 'https://api.twitch.tv/helix/videos?game_id=488837&after=eyJiIjp7Ik9mZnNldCI6OTgwfSwiYSI6eyJPZmZzZXQiOjEwMjB9fQ'
eyJiIjp7Ik9mZnNldCI6OTgwfSwiYSI6eyJPZmZzZXQiOjEwMjB9fQ was the cursor I got in the previous query. Is this because I am hitting ~ 1000 videos?