Skip to main content
Version: 5.7.0

GetSummaryDataForProfileId

Retrieves the summary information for the specified user profile ID.

Does not require the calling user to be a friend of the other user.

ServiceOperation
friendGET_SUMMARY_DATA_FOR_PROFILE_ID

Method Parameters

ParameterDescription
profileIdProfile (user) ID.

Usage

http://localhost:3000
string profileId = "profileId";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.FriendService.GetSummaryDataForProfileId(profileId, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"pictureUrl": "https://scontent.xx.fbcdn.net/hprofile-frc1/v/t1.0-1/p50x50/1066&oe=57812708",
"email": null,
"profileId": "2d77sf92-2583-4ad2-ba2c-3db942a34dee",
"playerSummaryData": {
"LEVEL": 0
},
"profileName": "Test User"
}
}