Info Value
Updated on6 August 2019
Response formatJSON
HTTP MethodsPOST
Response objectHighscore
API Version1.0

Share/Highscore

Shares a story of the user achieving a highscore.

On Facebook

On facebook this appears as a story in the users timeline.

On Miniclip

N/A

Parameters

Parameter Type Description
platformstringThe name of the platform the game has been loaded from."facebook","miniclip"
access_tokenstringThe access token of the user (the platforms specific token).
app_idstringThe app id of the platform app. If on facebook the facebook app id if on miniclip the miniclip app id
highscoreintThe score of the user.
levelstring(optional) If the level is set then the story on facebook will include the name of the level in the title of the object shared.

Response

Element Type Description
successbooleanIf the call succeeded or not.

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Share/Highscore/&access_token=##&highscore=##&app_id=##&platform=##

Sample response

{
	"success" : true
}