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

Share/Challenge

Creates a challenge notification for a user

On Facebook

On facebook this appears as a notification

On Miniclip

N/A

Parameters

Parameter Type Description
platformstringThe name of the platform the game has been loaded from.
access_tokenstringThe access token of the user (the platforms specific token).
app_idstringThe app id of the platform app (facebook,miniclip,etc)
challenged_user_idarrayAn array of user ids.(facebook id if on facebook, miniclip id if on miniclip)

Response

An array with all the responses for every user id. Each key of the array is in the format of user_xxx where xxx is the user id. Each array includes the following data.
Element Type Description
successbooleanIf the call was succesfull or not for this spesific user
messagestring(optional) When the call wasn't succesfull a message may be added for additional information
codeintA success or error code

Example

Request

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

Sample response

{
	"user_100008216859390" : {
		"success" : true,
	},
	"user_100008218950280" : {
		"success" : false,
		"message" : "Authentication error",
		"code"	  : 1005
	},
	"user_100008218950282" : {
		"success" : false,
		"code"    : 1005
	},
}