So I just learned that you can get somebody’s profile by using: https://www.roblox.com/users/profile?username=builderman (Replace builderman with the desired username.)
Does anyone know if there is something similar for groups?
To clarify, I’m not talking about a search query. I’m talking about directly referencing a group by its exact name.
local HTTP = game:GetService("HttpService")
local groupName = "" -- group name
local data = HTTP:GetAsync("https://groups.roproxy.com/v1/groups/search/lookup?groupName="..groupName)
data = HTTP:JSONDecode(data)
if #data.data > 0 then
local group = data.data[1]
print(group.id)
end
It says it’s Error 403 (Forbidden) for me. The proxy used is probably the issue, but the functionality is what I was looking for anyway. Thanks you for the reference.
I’m not sure, but this request might require you to provide your ROBLOSECURITY. I have used this proxy for every other thing like inventory API, marketplace API, etc. so I can assure you that it works.