Habbo Motto Grabber

Central

Imagination is more important than knowledge.
Feb 22, 2015
709
107
Hey!

Was wondering, if anyone had a system where it would pull the motto from their Habbo profile, onto your own web page and match it against a certain criteria?

For example; registering for a portal, where you would place a Verification Code in their motto from habbo and the webpage would verify it?
 

Joe

Well-Known Member
Jun 10, 2012
4,088
1,915
Pretty sure Habbo would have to offer some kind of API for it to grab things from them, my guess is no.
 

Damien

Don't need glasses if you can C#
Feb 26, 2012
425
638
You can access the users profile page without needing to be signed in. Aslong as there profile is visible, I'm sure you'll be able to make a request for said information.
 

Higoka

Active Member
Dec 16, 2018
174
74
simply make a request to https://www.habbo.com/api/public/users?name=<name> with the username. you will get some basic infotmation about the motto, look, badges etc
PHP:
<?php

function getUserMotto(string $username): ?string {
    $res = file_get_contents("https://www.habbo.com/api/public/users?name={$username}", false, stream_context_create([
        'http' => [
            'user_agent' => 'habbo-sucks',
        ],
    ]));

    $data = json_decode($res, true);

    return $data['motto'];
}

$motto = getUserMotto('higoka');
 
Last edited:

Joe

Well-Known Member
Jun 10, 2012
4,088
1,915
simply make a request to https://www.habbo.com/api/public/users?name=<name> with the username. you will get some basic infotmation about the motto, look, badges etc
PHP:
<?php

function getUserMotto(string $username): ?string {
    $res = file_get_contents("https://www.habbo.com/api/public/users?name={$username}", false, stream_context_create([
        'http' => [
            'user_agent' => 'habbo-sucks',
        ],
    ]));

    $data = json_decode($res, true);

    return $data['motto'];
}

$motto = getUserMotto('higoka');
Didn’t know they offered this! Thanks.
 

Users who are viewing this thread

Top