likeGJItem211.php
Likes a level, comment, etc.
Parameters
| Parameter | Explanation | Required |
|---|---|---|
secret | Common Secret: Wmfd2893gb7 | Yes |
itemID | The ID of the level, comment, or account comment | Yes |
type | 1 for level, 2 for level comment, 3 for account comment, 4 for list | Yes |
gameVersion | A number representing the game's version. The current value is 22 for 2.2 | |
binaryVersion | A number representing the game's small version. The current value is 47 for 2.2081 on PC and 48 for 2.208 on mobile | |
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 | |
udid | The player's UDID (Unique Device Identifier). Used to identify unregistered users | |
uuid | In modern versions, this is sent as the user ID. See the previous format here | |
uuid | A number added in 2.208 representing the device the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS | |
like | 0 is dislike, 1 is like. Not sure what it defaults to if left out, but it can be left out. | |
special | 0 if liking level/list, the level/list ID for comment (list ID should be negative), the account ID for profile post | |
rs | 10 randomly generated characters | |
chk | See here |
Response
Always returns 1, regardless of whether the item was liked/disliked or not.
Example
Python
py
import requests
data = {
"secret": "Wmfd2893gb7",
"itemID": 62687277,
"type": 1
}
req = requests.post('https://www.boomlings.com/database/likeGJItem211.php', data=data)
print(req.text)Response
py
1