Skip to main content
Version: 5.7.0

PostScoreToLeaderboardOnBehalfOf

Post score to another player's score.

ServiceOperation
leaderboardPOST_SCORE_TO_LEADERBOARD_ON_BEHALF_OF

Method Parameters

ParameterDescription
profileIdThe profileId of the player to post on behalf of.
leaderboardIdThe id of the leaderboard.
scoreThe score to post.
dataOptional user-defined data to post with the score.
forceCreateShould a new score be created if one doesn't currently exist?

Usage

http://localhost:3000
// Cloud code only. To view, switch to CC tab