ROBLOX Private Message Manager [Web]

First of all: feedback is very greatly appreciated. All kinds of criticism are welcome, even if they’re not constructive. Just let me know what you think.

The other day I was trying to locate on of my older messages, but I had to go through pages and pages until I could actually find it. I don’t have that problem anymore though, and neither should you if you use this script (I sound like a TV advertiser, don’t I?). This script sends a POST request to http://www.roblox.com/getmessages, and retrieves the specified amount of messages. If you haven’t specified an amount, you can just dump all of them.

Now, I realize that on this forum, people tend to dislike PHP a lot. For that reason, I’ve been considering porting it to Python as well. I would also port it to Lua, but ROBLOX doesn’t allow sending requests to http://www.roblox.com (even though it is still possible, despite the measures set in place to avoid that). Another problem would be the fact that HttpService doesn’t really allow custom headers, so I wouldn’t be able to set the .ROBLOSECURITY cookie for authentication anyways.

I was originally thinking of uploading a demo for everyone to use at https://roverse.net, however I automatically assumed no one would really want to submit their cookie to our server (and rightfully so). So here’s the code, have fun.

Here’s a snippet if you can’t read or understand the light documentation:

<?php

require 'src/messages.class.php';

$roblox_messages = new Messages;
$roblox_messages->set_cookie_file('/home/top/Documents/rbxsecurity.txt'); // This is a file containing your .ROBLOSECURITY cookie.
echo "<center><h1>You have: ", $roblox_messages->get_message_count(), " messages in total!</h1>";
echo "<br/><br/><textarea rows='10' cols='150'>", $roblox_messages->get_json_messages(), "</textarea></center>"

?>

Here’s a picture of the output, which was made more readable by http://jsonformatter.curiousconcept.com/

[center]
External Media
[/center]

Thats pretty cool