Warning These docs are currently subject to change
Info Value
Updated on6 August 2019
Response formatJSON
HTTP MethodsPOST
Response objectAward
API Version1.0

Share/Award

Shares a story of the user winning an award.

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
award_idarrayAn array of award ids that the user has won.

Response

An array with all the responses for every award id. Each key of the array is in the format of award_xxx where xxx is the award id. Each array includes the following data.
Element Type Description
successbooleanIf the call was succesfull or not for this spesific user
codeintA success or error code
messagestring(OPTIONAL) A message giving additional info

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Share/Award/&access_token=##&award_id[]=##&app_id=##&platform=##

Sample response

{
	"award_100" : {
		"success" : true,
		"code"	  : 0
	},
	"award_101" : {
		"success" : false,
		"code"	  : 1005
	},
	
}