|
So, I tried this:
Players.PlayerAdded:connect(function(Player)
local UserID = Player.userId
local Friends = game:GetService("HttpService"):GetAsync("http://roproxy.pw/rapi/API/friends/json?userId="..tostring(UserID).."¤tPage=0&pageSize=20")
print(Friends)
end)
And it gives me this error:
22:41:03.792 - CURL error (curl_easy_perform, 09F8E29C): Couldn't resolve host name
22:41:03.793 - Script 'ServerScriptService.FriendsOnline', Line 8 - upvalue GetAsync
22:41:03.793 - Script 'ServerScriptService.FriendsOnline', Line 13
22:41:03.793 - Stack End
What's wrong? :s
~The herp lerped a derp~ |
|
|
Does anyone have any experience with using RoProxy?? Figured I might be using it wrong..
~The herp lerped a derp~ |
|
TynezzJoin Date: 2014-04-28 Post Count: 4945 |
I just typed in roproxy.pw in the address bar, and it didn't come up. Might be the problem of the script |
|
|
The main site is a tk domain, not a pw domain, but according to the site, all API requests should go through the pw domain :/
~The herp lerped a derp~ |
|
|
Still can't make it work...
Are there any other proxy sites like this??
~The herp lerped a derp~ |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
Use rproxy.pw |
|
|
The wiki on HttpService seems to claim it's on the tk domain, which resolves. The pw domain, however, has no DNS records.
Where are you looking that mentions a pw domain? |
|
|
The API you're trying to call is invalid. |
|
|
I think the url you have to call to is http://roproxy.pw/rapi/API/users/friends/json?userId="..tostring(UserID).."&page="
page is optional but if you fill in a number it will retrieve that page of friends. If it's left open it will get the first page. And if a number is filled in that doesn't exist it will return nothing. |
|
|
|
@digpoe
Didn't work either. :(
@CynicalBusiness
I visited the tk domain, which in turn had some additional information about using roproxy.pw for requests.
@FloweryMonkeyboy5
Tried everything mentioned, I'm still getting the CURL error.
Any more ideas? I'd love for this to work since Player:GetFriendsOnline() doesn't.
~The herp lerped a derp~ |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
rproxy.pw is fine for me |
|
|
@digpoe
rproxy.pw gives me the message "No API found with the name x"
If it's working for you, what API(s) are you using?
~The herp lerped a derp~ |
|
|
so I tried to go into a game and it kept saying CURL error does anyone know what I should do? |
|
|
What's wrong with the current online friends system in Alone? |
|
|
|
this post was made in 2017 and some clueless nobbo brought it back up
i'm sure fliptibell solved his problem after 2 years or just doesn't care anymore
|
|
|
OH. I always forget to check the dates, assumed this was a new thread. Lmao. |
|
|
############################################################ |
|
|