|
| 11 Jul 2015 03:42 PM |
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~ |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 03:56 PM |
Does anyone have any experience with using RoProxy?? Figured I might be using it wrong..
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 11 Jul 2015 03:58 PM |
| I just typed in roproxy.pw in the address bar, and it didn't come up. Might be the problem of the script |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:01 PM |
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~ |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:19 PM |
Still can't make it work... Are there any other proxy sites like this??
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
|
| 11 Jul 2015 04:21 PM |
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? |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:23 PM |
| The API you're trying to call is invalid. |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:28 PM |
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. |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:29 PM |
Or just check this page out:
http://api.roblox.com/docs#Friends |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 04:37 PM |
@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~ |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
|
| 11 Jul 2015 05:16 PM |
@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~ |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2017 02:03 PM |
| so I tried to go into a game and it kept saying CURL error does anyone know what I should do? |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2017 02:45 PM |
| What's wrong with the current online friends system in Alone? |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Nov 2017 03:51 PM |
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
|
|
|
| Report Abuse |
|
|
|
| 18 Nov 2017 04:31 PM |
| OH. I always forget to check the dates, assumed this was a new thread. Lmao. |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2017 05:00 PM |
| ############################################################ |
|
|
| Report Abuse |
|
|
| |
|