FriendManagerService

This services allows you to get your friendlist and join your friends' miniland.

getFriendList

Returns a list with the id and name of your friends.

// Request
{
    "service": "FriendManagerService",
    "method": "getFriendList",
    "params": {}
}

// Response
{
    "status": "ok",
    "result": {
        "friends": [
            {
                "id": 1212,
                "name": "Hatz"
            },
            {
                "id": 6969,
                "name": "Diartios"
            },
            // [...]
        ]
    }
}

joinMiniland

Starts joining your friend miniland using the dance method.

// Request
{
    "service": "FriendManagerService",
    "method": "joinMiniland",
    "params": {
        "friend_id": 1212
    }
}

// Response
{
    "status": "ok",
    "result": {}
}

Last updated