Skip to content

uploadGJMessage20.php ​

WARNING

This endpoint is deprecated and seems to be always returning -1 now.

Sends a message to a user

Parameters ​

ParameterExplanation
accountID *The player's account ID (not to be confused with user ID). Used for authorization
gjp2 *The player's account password, encoded with GJP2. Used for authorization
toAccountID *Account ID of the user retrieving the message
subject *The subject of the message, converted to URL-safe base64
body *The body of the message, Xor'd with a key of 14251 and then encoded in URL-safe base64
secret *Common Secret: Wmfd2893gb7
gameVersion aA number representing the game's version. The current value is 22 for 2.2
binaryVersion aA number representing the game's small version. The current value is 51 for 2.209 on PC and mobile
udid aThe player's UDID (Unique Device Identifier). Used to identify unregistered users
uuid aThe player's user ID. See the previous format here
dvs aA number representing the OS platform the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS

Response ​

1 if the message was sent, -1 if a problem occurred, or if the receiver has messages disabled.

Example ​

Python ​

py
import requests

def xor_encrypt(msg, key="14251"):
    return "".join(chr(ord(c) ^ ord(key[i % len(key)])) for i, c in enumerate(msg))

data = {
	"accountID": 173831, # This is DevExit's account ID
	"gjp2": "*******", # This would be DevExit's password encoded with GJP2 encryption
    "toAccountID": 173831, # Yes! You can send messages to yourself
    "subject": base64.b64encode(b"You're dumb lol").decode(),
    "body": base64.b64encode(xor_encrypt("Mhm yep you're p dumb lmao").encode()).decode(),
    "secret": "Wmfd2893gb7",
}

r = requests.post('https://www.boomlings.com/database/uploadGJMessage20.php', data=data)
print(r.text)

Response

py
1