likeGJItem211.php
Likes a level, comment, etc.
Parameters
| Parameter | Explanation |
|---|---|
secret * | Common Secret: Wmfd2893gb7 |
itemID * | The ID of the level, comment, or account comment |
type * | 1 for level, 2 for level comment, 3 for account comment, 4 for list |
gameVersion a | A number representing the game's version. The current value is 22 for 2.2 |
binaryVersion a | A number representing the game's small version. The current value is 51 for 2.209 on PC and mobile |
accountID a | The player's account ID (not to be confused with user ID). Used for authorization |
gjp2 a | The player's account password, encoded with GJP2. Used for authorization |
udid a | The player's UDID (Unique Device Identifier). Used to identify unregistered users |
uuid a | The player's user ID. See the previous format here |
uuid a | A 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 |
like a | 0 is dislike, 1 is like. Not sure what it defaults to if left out, but it can be left out. |
special a | 0 if liking level/list, the level/list ID for comment (list ID should be negative), the account ID for profile post |
rs a | 10 randomly generated characters |
chk a | 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