I’m looking to setup a credits page which scrapes users from a group. Is there an API to achieve this without using HTTP Service?
For example:
:GetMembersInRole(4676369, “Team”)
Return: {421194271, 195261420, 358547858, etc}
I’m looking to setup a credits page which scrapes users from a group. Is there an API to achieve this without using HTTP Service?
For example:
:GetMembersInRole(4676369, “Team”)
Return: {421194271, 195261420, 358547858, etc}
Not that I am aware of. Why wouldn’t you want to use HttpService?
I’ll be using this for HD Admin where the majority of our users do not have HTTPService enabled.
If, as @xuefei123 said, there’s no way to get members in a role without HttpService, you could:
or
Sadly not, no built in functions exist in order to get all members in a group (or role) as far as I am aware.
The only way would be to have a built in module which you’d update yourself e.g. you could update a single module using an API system on your side and then using the insert service it could get the asset and use it as data for the credits - it could even do it live if you really wanted providing the model is saved to Roblox.
That way it wouldn’t matter if they had HTTPService enabled (as far as I’m aware). I use this method to import in the base server mechanics for my games to stop load lag but it could easily be reapplied to this scenario.