Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

SearchEmotes query in v3 GraphQL API returns the same results for all pages > 25 #227

@Bejan512

Description

@Bejan512

Hey I originally ran across this issue while just browsing the website looking for emotes to add to my twitch channel. There's tons of emotes available, so I wanted to take a look at which ones I could possibly add.

It came to my attention though that after I reached page 25 of the top emotes, I was not seeing any new emotes. So I went into the network inspector to try to see what was going on, and I noticed that the GraphQL request was returning the same content for each request, even with a new page number. This only happened with page numbers above 25.

Page 23-25 showing unique emotes
Screen Shot 2023-09-12 at 7 09 10 AM
Screen Shot 2023-09-12 at 7 09 16 AM
Screen Shot 2023-09-12 at 7 09 21 AM

Page 25+ showing duplicate emotes
Screen Shot 2023-09-12 at 7 09 28 AM
Screen Shot 2023-09-12 at 7 09 30 AM
Screen Shot 2023-09-12 at 7 09 33 AM
Screen Shot 2023-09-12 at 7 09 35 AM
Screen Shot 2023-09-12 at 7 09 36 AM

I also went ahead and ran the requests myself with postman to see if the behavior was the same, and it was. I could get more emotes to show up by increasing the limit per page, but the duplication behavior after page 25 did not change.

Postman page 23-25 unique results
Screen Shot 2023-09-12 at 6 57 43 AM
Screen Shot 2023-09-12 at 6 57 55 AM
Screen Shot 2023-09-12 at 6 58 03 AM

Postman page 25+ duplicate results
Screen Shot 2023-09-12 at 6 58 08 AM
Screen Shot 2023-09-12 at 6 58 32 AM
Screen Shot 2023-09-12 at 6 58 42 AM
Screen Shot 2023-09-12 at 6 58 50 AM

I'd go over the API myself to see if I could find the issue, but I'm limited on time and not very familiar with Go.

Thanks to anyone who takes a look at this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions