twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
73 stars 6 forks source link

Get Chatters - missing cursor #692

Closed Kottakji closed 1 year ago

Kottakji commented 1 year ago

Brief description

I'm testing my code that uses Get Chatters, to see if my pagination works.

Calling the GET Chatters endpoint, with a first of 1, I am getting a list with 1 user, but a total of 2 users in chat. But there is no cursor in the response. So I can't get the second page.

How to reproduce

GET https://api.twitch.tv/helix/chat/chatters?broadcaster_id=xxxx&moderator_id=xxxx&first=1

Response:

{
    "data": [
        {
            "user_id": "xxx",
            "user_login": "xxx",
            "user_name": "xxx"
        }
    ],
    "pagination": {},
    "total": 2
}

Expected behavior

Should get the following response

{
    "data": [
        {
            "user_id": "xxx",
            "user_login": "xxx",
            "user_name": "xxx"
        }
    ],
    "pagination": {
         "cursor": "xxxxxxxxxx"
    },
    "total": 2
}

Screenshots

Additional context or questions

Xemdo commented 1 year ago

Was internally ticketed as CFC-8597

This should have been fixed in a release during February of 2023.