# games.gamesgamesgamesgames.graph.getLikeCount

> Published by [gamesgamesgamesgames.games](https://lexicon.garden/identity/did:web:gamesgamesgamesgames.games)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.graph.getLikeCount)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.graph.getLikeCount/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.graph.getLikeCount/examples)

## Definitions

### `games.gamesgamesgamesgames.graph.getLikeCount`

**Type**: `query`

Get the total number of likes a user has given.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` | Yes | The DID of the user whose like count to retrieve. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | Yes | Total number of likes this user has given. |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.graph.getLikeCount",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "count"
          ],
          "properties": {
            "count": {
              "type": "integer",
              "description": "Total number of likes this user has given."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "description": "The DID of the user whose like count to retrieve."
          }
        }
      },
      "description": "Get the total number of likes a user has given."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
