Skip to content

searchGJThreadMessages.php ​

Searches messages in a thread for a substring.

Parameters ​

ParameterExplanationRequired
accountIDThe player's account ID (not to be confused with user ID). Used for authorizationYes
gjp2The player's account password, encoded with GJP2. Used for authorizationYes
secretCommon Secret: Wmfd2893gb7Yes
threadIDThe ID of the thread to search messages inYes
queryThe search query converted to Base64Yes
beforeIDAll fetched messages will be older than this message ID
gameVersionA number representing the game's version. The current value is 22 for 2.2
binaryVersionA number representing the game's small version. The current value is 51 for 2.209 on PC and mobile
udidThe player's UDID (Unique Device Identifier). Used to identify unregistered users
uuidThe player's user ID. See the previous format here
dvsA 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 ​

A successful request will return the data in the format

{messages}#{pages}

where:

  • {messages} is a list of Thread Message Objects separated by pipes |. If no messages were fetched, this segment is returned as none
  • {pages} is the amount of pages left

Example ​

Python ​

py
import requests

# This code gets the messages from a thread

data = {
    "accountID": 26068292, # GMDAntiMatter's account ID
    "gjp2": "********", # This would be GMDAntiMatter's password encoded with GJP2 encryption
    "secret": "Wmfd2893gb7",
    "threadID": 49028,
    "query": "YWJjZGVm" // abcdef in base64
}

req = requests.post("https://www.boomlings.com/database/searchGJThreadMessages.php", data=data)
print(req.text)

Response

plain
815725:26068292:YWJjZGVm:1792278193:0|815721:26068292:YWJjZGVm:1792278192:0|815719:26068292:YWJjZGVm:1792278192:0|815718:26068292:YWJjZGVm:1792278192:0|815716:26068292:YWJjZGVm:1792278192:0|815714:26068292:YWJjZG
Vm:1792278191:0|815711:26068292:YWJjZGVm:1792278191:0|815709:26068292:YWJjZGVm:1792278191:0|815706:26068292:YWJjZGVm:1792278190:0|815700:26068292:YWJjZGVm:1792278190:0|815696:26068292:YWJjZGVm:1792278189:0|815694
:26068292:YWJjZGVm:1792278189:0|815689:26068292:YWJjZGVm:1792278189:0|815686:26068292:YWJjZGVm:1792278188:0|815684:26068292:YWJjZGVm:1792278188:0|815683:26068292:YWJjZGVm:1792278187:0|815682:26068292:YWJjZGVm:179
2278187:0|815681:26068292:YWJjZGVm:1792278187:0|815680:26068292:YWJjZGVm:1792278187:0|815674:26068292:YWJjZGVm:1792278186:0#1