# place.stream.graph.getFollowingUser

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.graph.getFollowingUser)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.graph.getFollowingUser/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.graph.getFollowingUser/examples)

## Definitions

### `place.stream.graph.getFollowingUser`

**Type**: `query`

Get whether or not user A is following user B.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `userDID` | `string` (did) | Yes | The DID of the potentially-following user |
| `subjectDID` | `string` (did) | Yes | The DID of the user potentially being followed |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `follow` | `ref` → `com.atproto.repo.strongRef` | No |  |

## Raw Schema

```json
{
  "id": "place.stream.graph.getFollowingUser",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "follow": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "userDID",
          "subjectDID"
        ],
        "properties": {
          "userDID": {
            "type": "string",
            "format": "did",
            "description": "The DID of the potentially-following user"
          },
          "subjectDID": {
            "type": "string",
            "format": "did",
            "description": "The DID of the user potentially being followed"
          }
        }
      },
      "description": "Get whether or not user A is following user B."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
