Skip to main content
Version: 5.7.0

GetProfileInfoForCredentialIfExists

Retrieves profile information for the specified user. Silently fails, if profile does not exist, just returns null and success, instead of an error.

ServiceOperation
friendGET_PROFILE_INFO_FOR_CREDENTIAL_IF_EXISTS

Method Parameters

ParameterDescription
externalIdExternal id.
authenticationTypeAssociated authentication type.

Usage

http://localhost:3000
string externalId = "profileId";
string authenticationType = "Facebook";
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.GetProfileInfoForCredentialIfExists(externalId, authenticationType, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {}
}