generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: ROBLOX APIs

Previous Thread :: Next Thread 
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 01:49 PM
How would I use them in my website?
Lets say I wanted to get the role set of a group..??
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
09 Nov 2014 01:59 PM
I don't know, but you would need to know how to use JavaScript or something that can send and receive requests.
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 02:10 PM
is javascript allowed through x10hosting?
Report Abuse
Plutonem is not online. Plutonem
Joined: 23 Aug 2009
Total Posts: 1106
09 Nov 2014 02:10 PM
Read more tutorials. You'll find out when you'll be at that level you know ;)
Report Abuse
Plutonem is not online. Plutonem
Joined: 23 Aug 2009
Total Posts: 1106
09 Nov 2014 02:12 PM
Obviously JavaScript is on every hosting server. If you don't have JavaScript, change of hosting because that is 1992 hosting.
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 02:14 PM
oh, e.e well gotta read tutorials
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:28 PM
'Obviously JavaScript is on every hosting server. If you don't have JavaScript, change of hosting because that is 1992 hosting.'
That's not true, JavaScript is client-side. The hosting server basically has no control if you can edit the source of your pages freely.
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 03:36 PM
Wait,
How would I get information like group rolesets using PHP from my website?
Report Abuse
analyzewannabe is not online. analyzewannabe
Joined: 08 Nov 2014
Total Posts: 21
09 Nov 2014 03:37 PM
thye already told you lo
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:41 PM
Send a request to 'http://www.roblox.com/api/groups/GROUP ID/RoleSets/' and return to sender
Report Abuse
TheOsiris is not online. TheOsiris
Joined: 30 May 2010
Total Posts: 4534
09 Nov 2014 03:42 PM
...and....

local site = "http://website.php"
local data = {
['user']='pudinrox',
['secretkey']='secretkeytheyentered',
['isa']='0',
['type']='0',
['firsttime']='1',
['dis']='0',
['test']='Works!',
['test2']='Works!'
}
local serv = game:GetService("HttpService")
local timeout = 50
local waited = 0
local data = serv:JSONEncode(data)
local out = serv:PostAsync(site,data)
local stop = false
repeat wait(0.1) waited = waited+1 if waited >= timeout then stop = true end until out or stop
local m = Instance.new("Hint",workspace)
m.Name = "Remote Call Responce"
m.Text = tostring(out)
print(tostring(out))
game:service("Debris"):AddItem(m,4)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:43 PM
That helps in no way. Leave
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 03:44 PM
^^ im talking about externally and

@cntkill
I couldn't find a tutorial online for php, how would I send one in php?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Nov 2014 03:45 PM
php DOT net/manual/en/function.http-get.php
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 03:49 PM
curl_setopt($handle, CURLOPT_URL, 'http://www.roblox.com/api/groups/1/RoleSets/');
curl_setopt($handle, CURL_POST, true);
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 03:54 PM


$handle = curl_init();

curl_setopt_array(
$handle,
array(
CURLOPT_URL => 'http://www.roblox.com/api',
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => '/groups/1/RoleSets/',
)
);


thats my new one
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 03:59 PM
http verb used to access this page is not allowed"

My host said this e.e
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
09 Nov 2014 04:07 PM
ugh
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image