of     1   

boo871
#180781878Thursday, December 31, 2015 11:31 PM GMT

I know you can do this with a few parameters: http://www.roblox.com/Friends/JSON But when you do that (and I'd need an external source since its on the roblox domain) the table is returned as a giant string Is there a nicer way I could get a users friends before I try to create a massive string to table function
Clirex
#180782334Thursday, December 31, 2015 11:36 PM GMT

i was going to say :GetOnlineFriends() but then i realized what you asked for
boo871
#180784609Friday, January 01, 2016 12:05 AM GMT

well GetOnlineFriends is better than spending hours on a string to table function, so it'll work for now ty
NumerousSpaces
#180785527Friday, January 01, 2016 12:16 AM GMT

Could someone please spend hours doing this, I would like to do this also!
UFAIL2
#180785950Friday, January 01, 2016 12:20 AM GMT

Why would you have to spend hours doing this when Roblox has methods to decode JSON?
MrJoeyJoeJoey
#180786707Friday, January 01, 2016 12:29 AM GMT

Its not that hard just string patterns
NumerousSpaces
#180786792Friday, January 01, 2016 12:30 AM GMT

Ok, Ufail2, try and make this without spending HOUR(S)!
MrJoeyJoeJoey
#180786997Friday, January 01, 2016 12:32 AM GMT

for w in string.gmatch(s,[["UserId":%d+]]) do print(w) end
MrJoeyJoeJoey
#180787263Friday, January 01, 2016 12:35 AM GMT

local firendids = {} for w in string.gmatch(s,[["UserId":%d+]]) do table.insert(friendids,w:match("%d+")) end
Zawie
#180788435Friday, January 01, 2016 12:51 AM GMT

game:GetService"HttpService":JSONDecode() is a function narb
MrJoeyJoeJoey
#180789008Friday, January 01, 2016 12:58 AM GMT

lol idk how to use that
Zawie
#180790150Friday, January 01, 2016 1:13 AM GMT

game:GetService"HttpService":JSONDecode(JSONStringHere)
Zawie
#180790188Friday, January 01, 2016 1:14 AM GMT

local tab = game:GetService"HttpService":JSONDecode(JSONStringHere)

    of     1