Roblox Group API: Users Previous Cursor

I’m trying to use the Groups API to move forwards and backwards. On each page I want to have 25 users, sorted in a descending order.

I use this request to get the first page:

https://groups.roblox.com/v1/groups/1/users?sortOrder=Desc&limit=25

This then returns the nextPageCursor. I use the nextPageCursor to get the next page - this all works.

Example Request:
https://groups.roblox.com/v1/groups/1/users?sortOrder=Desc&limit=25&cursor=2343763654_1_a342a46e12bdb056b570736fa28e89d8

However, when I try to use the previousPageCursor to go back a page, it returns a completely different set of users to what I’d expect.

Can anyone shed a light on what I’m doing wrong or is this a problem with the API itself?

1 Like

It seems to be an issue with the API itself, I recommend just storing the previous page cursor in a variable and then just calling it back

3 Likes

Indeed. I noticed Roblox was doing this for their own group admin so this is probably the route I’ll take.