Graph API Version

Application Leaderboards Set Score

Reading

You can't perform this operation on this endpoint.

Creating

You can't perform this operation on this endpoint.

Updating

You can update an Application by making a POST request to /{application_id}/leaderboards_set_score.

Parameters

ParameterDescription
extra_data
string

Extra information associated with the score

name
string

The name of the leaderboard

Required
player_id
instant_game_player_id ID

The app-scoped ID of the player to post the score for

Required
score
int64

An integer score

Required

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.
Struct {
success: bool,
}

Validation Rules

ErrorDescription
3410Games player ID cannot be found.
100Invalid parameter
3407Games leaderboard name not found.
3412Player is not active.

Deleting

You can't perform this operation on this endpoint.