---
url: /apidocs/social_locator.md
---
## User Locator API

| Endpoint | Method | Description |
|-----|-----|-----|
| [social:getUserLocator](#get-user-locator) | websocket | Get user locator |
| [social:getOnlineStatusesForUsers](#get-online-statuses-for-users) | websocket | Get online statuses for users |
| [social:updateLocatorPlayground](#update-locator-playground) | websocket | Update locator playground |
| ~~[social:friendsLocator](#send-friends-locator-event)~~ | websocketEvent | Send friends locator event |
| ~~[social:locatorUpdated](#send-locator-updated-event)~~ | websocketEvent | Send locator updated event |

### Get user locator

**Method:** websocket

**Endpoint:** social:getUserLocator

**Request:**

**Response:**

### Get online statuses for users

**Method:** websocket

**Endpoint:** social:getOnlineStatusesForUsers

**Request:**

**Response:**

### Update locator playground

**Method:** websocket

**Endpoint:** social:updateLocatorPlayground

**Request:**

**Response:**

### Send friends locator event

**Event:** social:friendsLocator

**DEPRECATED**

**Description:** Event sends to user information about his friends: if they are online and where are they located

**Data:**

### Send locator updated event

**Event:** social:locatorUpdated

**DEPRECATED**

**Description:** Event send information about updated user locator to his friends

**Data:**
