Client
The client is the gateway to all of the methods that are provide
Last updated
The client is the gateway to all of the methods that are provide
Last updated
Welcome! This page will show you how to set up the client objects so you can get the best experience you can with the API.
Reminder: If you haven't installed the system you should follow the steps in the page linked below:
InstallationYou can run a client without providing a .ROBLOSECURITY cookie but it will not be able to run methods that require authorization like modifying games, ranking users, making shouts, etc.
Authorized clients are the ones with the ability to make group shouts, rank users, create developer products, and basically all of the cool stuff you can do with an actual account.
Step 1: Creating an account / getting an alt account (You can skip this step if you have an alt account already prepared for this)
Step 2: Getting your cookie
I'm using Chrome for this video, but other browsers should have similar features. If you already know how to get your cookie, just get it and go on to step 3.
Hit Ctrl + Shift + I or right click to open inspect element
Go all the way to the network tab, hit the arrows next to it and select "Cookies" and open the "www.roblox.com" subsection
Find the ".ROBLOSECURITY" cookie and select your cookie. It will start with "_|WARNING:-DO-NOT-SHARE-THIS."
Step 3: Setting up the client
The client is where you'll be able to do all of the fun things. Now that you have your cookie, this will allow it to login and perform actions that you tell it to under the specified cookie.
This code will start a client object with your proxy URL. If you don't provide a proxy URL, none of the features will work. Now, finally you can authorize it with your cookie. All it needs is one line of code and you're ready to go.
If you're worried about security, the cookies are not stored anywhere other than the cookie part of your code that you log them in with. This may not be enough transparency for some people which is why I provide the source code of the proxy so you can run it yourself and not worry about leaks. If you're not going to be using anything that requires an account like ranking, shouts, etc. you do not need to use a cookie whatsoever.
If you did it properly, your code should look something like this:
That's it! Now if it returned "true" as success you can go onto use the methods it gives you!
When it successfully authorizes you, it adds an array to the client object called "info" and it has the username, display name, and user ID.
Unauthorized clients are clients that don't use cookies and only make basic API requests like getting user outfits, user profile information, and features you can do without an account.
These are very straightforward to set up. They're very similar to Step 3 above except they don't use cookies. You'll start with the code below which initiates the client and sets up the proxy information.
Once you have this, it'll provide a blank client similar to the previous one and now you only need to do one more thing!
The full code should look something like this: