# Disqus

> Read discussions, comments, categories and community activity from Disqus.

App · 17 actions. Web page: https://docs.lodol.com/docs/integrations/disqus

## Actions

### Get category

Get category.

**Inputs**

- Category (`category_id`, text, required): Category ID.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "response": {
      "forum": "example",
      "id": "example",
      "title": "example"
    }
  }
}
```

### Get comment

Get comment.

**Inputs**

- Post (`post_id`, text, required): Post ID.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "response": {
      "author": {},
      "createdAt": "example",
      "forum": "example",
      "id": "example",
      "message": "example",
      "raw_message": "example",
      "thread": "example"
    }
  }
}
```

### Get Disqus user

Get Disqus user.

**Inputs**

- Disqus user ID (`disqus_user_id`, text, required): User ID.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "response": {
      "id": "example",
      "name": "example",
      "profileUrl": "example",
      "username": "example"
    }
  }
}
```

### Get forum

Get forum.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "response": {
      "id": "example",
      "name": "example",
      "website": "example"
    }
  }
}
```

### Get thread

Get thread.

**Inputs**

- Thread (`thread_id`, text, required): Thread ID.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "response": {
      "createdAt": "example",
      "forum": "example",
      "id": "example",
      "link": "example",
      "posts": 1,
      "title": "example"
    }
  }
}
```

### List accounts followed by user

List accounts followed by user.

**Inputs**

- Disqus user ID (`disqus_user_id`, text, required): User ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "id": "example",
        "name": "example",
        "profileUrl": "example",
        "username": "example"
      }
    ]
  }
}
```

### List active forum users

List active forum users.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "id": "example",
        "name": "example",
        "profileUrl": "example",
        "username": "example"
      }
    ]
  }
}
```

### List comments by user

List comments by user.

**Inputs**

- Disqus user ID (`disqus_user_id`, text, required): User ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.
- Statuses (`statuses`, list): Moderation statuses to include. One or more of: `unapproved`, `approved`, `spam`, `deleted`, `flagged`, `highlighted`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "author": {},
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "message": "example",
        "raw_message": "example",
        "thread": "example"
      }
    ]
  }
}
```

### List comments in category

List comments in category.

**Inputs**

- Category (`category_id`, text, required): Category ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.
- Statuses (`statuses`, list): Moderation statuses to include. One or more of: `unapproved`, `approved`, `spam`, `deleted`, `flagged`, `highlighted`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "author": {},
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "message": "example",
        "raw_message": "example",
        "thread": "example"
      }
    ]
  }
}
```

### List comments in forum

List comments in forum.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.
- Statuses (`statuses`, list): Moderation statuses to include. One or more of: `unapproved`, `approved`, `spam`, `deleted`, `flagged`, `highlighted`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "author": {},
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "message": "example",
        "raw_message": "example",
        "thread": "example"
      }
    ]
  }
}
```

### List comments in thread

List comments in thread.

**Inputs**

- Thread (`thread_id`, text, required): Thread ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.
- Statuses (`statuses`, list): Moderation statuses to include. One or more of: `unapproved`, `approved`, `spam`, `deleted`, `flagged`, `highlighted`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "author": {},
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "message": "example",
        "raw_message": "example",
        "thread": "example"
      }
    ]
  }
}
```

### List followers of user

List followers of user.

**Inputs**

- Disqus user ID (`disqus_user_id`, text, required): User ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "id": "example",
        "name": "example",
        "profileUrl": "example",
        "username": "example"
      }
    ]
  }
}
```

### List forum categories

List forum categories.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "forum": "example",
        "id": "example",
        "title": "example"
      }
    ]
  }
}
```

### List forum followers

List forum followers.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "id": "example",
        "name": "example",
        "profileUrl": "example",
        "username": "example"
      }
    ]
  }
}
```

### List forum moderators

List forum moderators.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "id": "example",
        "name": "example",
        "profileUrl": "example",
        "username": "example"
      }
    ]
  }
}
```

### List threads in category

List threads in category.

**Inputs**

- Category (`category_id`, text, required): Category ID.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "link": "example",
        "posts": 1,
        "title": "example"
      }
    ]
  }
}
```

### List threads in forum

List threads in forum.

**Inputs**

- Forum (`forum`, text): Forum shortname. Leave blank to use the forum on your connection.
- Cursor (`cursor`, text): Page cursor from the preceding response.
- Limit (`limit`, number): Maximum number of results. From 1 to 100.
- Order (`order`, text): Sort order. One of: `asc`, `desc`.
- Since (`since`, date and time): Only return records after this date and time.

**Outputs**

- `data` (object): The response from Disqus.

**Example output**

```json
{
  "data": {
    "code": 1,
    "cursor": {
      "hasNext": true,
      "hasPrev": true,
      "next": "example",
      "prev": "example"
    },
    "response": [
      {
        "createdAt": "example",
        "forum": "example",
        "id": "example",
        "link": "example",
        "posts": 1,
        "title": "example"
      }
    ]
  }
}
```
