Returns detials of the current social connections of this player. Each connection .

View interactive version here

Request Parameters

Parameter Required Type Description

Response Parameters

A response containing the details of a the players social connections

Parameter Type Description
scriptData ScriptData A JSON Map of any data added either to the Request or the Response by your Cloud Code
statuses SocialStatus[] A list of social statuses.

Nested types


A the details of a social connection

Parameter Type Description
active boolean When the token is still active.
expires date When the token expires (if available).
systemId string The identifier of the external platform.


A collection of arbitrary data that can be added to a message via a Cloud Code script.

Parameter Type Description
myKey string An arbitrary data key
myValue JSON An arbitrary data value.

Code Samples


    using GameSparks.Api;
    using GameSparks.Api.Requests;
    using GameSparks.Api.Responses;
    new SocialStatusRequest()
        .Send((response) => {
        GSData scriptData = response.ScriptData;
        GSEnumerable<SocialStatusResponse._SocialStatus> statuses = response.Statuses;

ActionScript 3

    import com.gamesparks.*;
    import com.gamesparks.api.requests.*;
    import com.gamesparks.api.responses.*;
    import com.gamesparks.api.types.*;

        .send(function(response:com.gamesparks.api.responses.SocialStatusResponse):void {
        var scriptData:ScriptData = response.getScriptData(); 
        var statuses:Vector.<SocialStatus> = response.getStatuses(); 


    #import "GS.h"
    #import "GSAPI.h"
    GSSocialStatusRequest* request = [[GSSocialStatusRequest alloc] init];
    [request setCallback:^ (GSSocialStatusResponse* response) {
    NSDictionary* scriptData = [response getScriptData]; 
    NSArray* statuses = [response getStatuses]; 
    [gs send:request];


    #include <GameSparks/generated/GSRequests.h>
    using namespace GameSparks::Core;
    using namespace GameSparks::Api::Responses;
    using namespace GameSparks::Api::Requests;

    void SocialStatusRequest_Response(GS& gsInstance, const SocialStatusResponse& response) {
    GSData scriptData = response.getScriptData(); 
    gsstl:vector<Types::SocialStatus*> statuses = response.getStatuses(); 

    SocialStatusRequest request(gsInstance);


import com.gamesparks.sdk.api.autogen.GSRequestBuilder.SocialStatusRequest;
import com.gamesparks.sdk.api.autogen.GSResponseBuilder.SocialStatusResponse;
import com.gamesparks.sdk.api.autogen.GSTypes.*;
import com.gamesparks.sdk.api.GSEventListener;

    .send(new GSEventListener<SocialStatusResponse>() {
        public void onEvent(SocialStatusResponse response) {
            List<SocialStatus> statuses = response.getStatuses(); 

Cloud Code

    var request = new SparkRequests.SocialStatusRequest();
    var response = request.Send();

var scriptData = response.scriptData; 
var statuses = response.statuses;