# place.stream.graph.getFollowingUser

> Get whether or not user A is following user B.

- Kind: query
- Authority: graph.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.graph.getFollowingUser)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.graph.getFollowingUser/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.graph.getFollowingUser/analytics)

## Query (`place.stream.graph.getFollowingUser`)

Type: query · GET

### Parameters (query string)

- `subjectDID` (string · did, required): The DID of the user potentially being followed
- `userDID` (string · did, required): The DID of the potentially-following user

### Output (application/json)

- `follow` (ref)
  - Reference: `com.atproto.repo.strongRef`

## Schema

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