Xsolla-logo

Get social account friends

get/users/me/social_friends

Gets a list of user’s friends from a social provider.

SecurityBearer
Request
query Parameters
platform
string

Name of the chosen social provider which you can enable in your Publisher Account > your Login project > Social connections. If you do not specify it, the call gets friends from all social providers.

Enum: "steam" "xbox" "twitter" "facebook" "vk"
offset
integer >= 0
Default: 0

Number of the elements from which the list is generated.

limit
integer [ 1 .. 500 ]
Default: 500

Maximum number of friends that are returned at a time.

with_xl_uid
boolean
Default: false

Shows whether the social friends are from your game.

Responses
200

OK

401

Unauthorized

429

Too Many Requests

Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "limit": 0,
  • "offset": 0,
  • "platform": "string",
  • "total_count": 0,
  • "with_xl_uid": true
}