Fetch a specific leaderboard belonging to this Instant Game.
The data is requested in an async call, so the result isn't available immediately.
When the call completes the getleaderboard
event will be emitted along with a Leaderboard object instance.
name | type | description |
---|---|---|
name | string |
The name of the leaderboard. Each leaderboard for an Instant Game must have its own distinct name. |
This Facebook Instant Games Plugin instance.