Problem with roblox group API

Hi,
I have problem, that when i try to use this api https://groups.roblox.com/docs#!/Membership/get_v1_groups_groupId_users, but idk why, it returns only completed lists (so when i set the limit to 100 and the group has 266 members, it will return only 200 members). Can you help me?

1 Like

Roblox APIs like the you posted use a “cursor” system.

You have the API its self here:
https://groups.roblox.com/v1/groups/1070403/users?sortOrder=Asc&limit=100

As you mentioned, it will only return 100 users. But it also returns a nextPageCursor, you will take the value of that (usually through code) and add it a &cursor search query to the view the next page of users.

Example:
https://groups.roblox.com/v1/groups/2741434/users?sortOrder=Asc&limit=100&cursor=whatever

1 Like

I know, but when i pasted there the next cursor (so from how far i undertand it, i will get users 101-200), the next page cursor was null, but the roblox group has 266 members. Then I tried limit 10 and again, it returned first 260 members and the last 6 not (i think bec it didnt fill full limit).

Can you give the group id / an example of the code you’re trying to use?

This doesn’t seem like it would be possible unless it was a website bug.

1 Like

And is there some diferent way, how to get the cursor? (bec the problem is, that the next cursor on last full filled page is null)

1 Like