deleteGJFriendRequests20.php
Removes friend requests.
Parameters
| Parameter | Explanation |
|---|---|
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 |
targetAccountID * | The accountID of the player you are declining the friend request or 0 if multiple requests are being declined |
secret * | Common Secret: Wmfd2893gb7 |
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 |
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 |
dvs 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 |
accounts c | Account IDs seperated by , for players whose requests are being declined. Sent only if there are multiple requests being declined Sent when: targetAccountID is 0 |
isSender a | 1 if the player is the sender of the friend request(s) to the target account(s) |
- * - Required.
- a - Always sent by the client.
- c - Sent conditionally by the client.
Response
Successful Request
py
1Failed Request
py
-1