# 即時社交媒體 Reddit 任務

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/social_media/reddit/live`

**Tags:** DataForSEO

原本用於回傳 `targets` 在 Reddit 上的分享次數。🔴 **上游目前無法使用**：它回傳 `status_code` 50304 與 `This function temporarily unavailable. Please contact support`，完全沒有 `tasks` 陣列——故障發生在信封頂層，而不是某個任務內部。採用 DataForSEO 的信封結構：資料位於 `tasks[0].result`，結果狀態位於 `tasks[0].status_code`——被拒絕的請求仍會回傳 HTTP 200。同類的 Pinterest 端點 `post_dataforseo_business_social_media_pinterest_live` 可正常使用，且費用極低；若要取得 Reddit 內容本身，reddit 伺服器會直接讀取該平台。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：0.2428 美元。
- 參考客戶倍率：1.0。不得對已結算的客戶金額再次套用。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "targets": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "*目標 URL* **必填欄位** 目標頁面應使用絕對 URL 指定（包含 http:// 或 https://）範例：`https://dataforseo.com/` **注意：** 最多可指定 10 個目標。你將按此陣列中指定的每個 URL 計費"
      },
      "tag": {
        "type": "string",
        "description": "*使用者自訂任務識別碼* 選填欄位 *字元限制為 255* 可使用此參數識別任務，並將其與結果比對 你將在回應的 `data` 物件中找到指定的 `tag` 值"
      }
    },
    "required": [
      "targets"
    ]
  }
}
```

## Responses

### 200 — 成功回應

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "*目前 API 版本*"
    },
    "version.status_code": {
      "type": "integer",
      "description": "*通用狀態代碼* 完整的狀態代碼清單見[此處](https://docs.dataforseo.com/v3/appendix/errors.md) **注意：** 強烈建議設計必要的系統來處理相關例外或錯誤情況"
    },
    "version.status_message": {
      "type": "string",
      "description": "*通用資訊訊息* 完整的通用資訊訊息清單見[此處](https://docs.dataforseo.com/v3/appendix/errors.md)"
    },
    "version.time": {
      "type": "string",
      "description": "*執行時間，秒*"
    },
    "version.cost": {
      "type": "number",
      "description": "*任務總費用，美元*"
    },
    "version.tasks_count": {
      "type": "integer",
      "description": "*位於 **`tasks`** 陣列中的任務數量*"
    },
    "version.tasks_error": {
      "type": "integer",
      "description": "*傳回錯誤狀態的 **`tasks`** 陣列中的任務數量*"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*任務陣列*"
    },
    "tasks.id": {
      "type": "string",
      "description": "*我們系統中的唯一任務識別碼* 採用 [通用唯一識別碼（UUID）](https://en.wikipedia.org/wiki/Universally_unique_identifier) 格式"
    },
    "tasks.status_code": {
      "type": "integer",
      "description": "*任務狀態代碼* 由 DataForSEO 產生；取值範圍為：10000-60000"
    },
    "tasks.status_message": {
      "type": "string",
      "description": "*任務資訊訊息*"
    },
    "tasks.time": {
      "type": "string",
      "description": "*執行時間，秒*"
    },
    "tasks.cost": {
      "type": "number",
      "description": "*任務費用，美元*"
    },
    "tasks.result_count": {
      "type": "integer",
      "description": "*`result` 陣列中的元素數量*"
    },
    "tasks.path": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*URL 路徑*"
    },
    "tasks.data": {
      "type": "object",
      "description": "*包含你在 POST 請求中指定的相同參數*"
    },
    "result": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*結果陣列*"
    },
    "result.type": {
      "type": "string",
      "description": "*元素類型 = **‘social\\_media\\_reddit\\_item’***"
    },
    "result.page_url": {
      "type": "string",
      "description": "*提供資料所對應頁面的 URL* 即設定任務時你在 `targets` 陣列中指定的對應 URL"
    },
    "result.reddit reviews": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*page\\_url 的 Reddit 評論*"
    },
    "result.subreddit": {
      "type": "string",
      "description": "*subreddit 名稱*"
    },
    "result.author_name": {
      "type": "string",
      "description": "*作者暱稱* 在 subreddit 中發佈貼文並分享該 URL 的使用者暱稱"
    },
    "result.title": {
      "type": "string",
      "description": "*subreddit 貼文標題*"
    },
    "result.permalink": {
      "type": "string",
      "description": "*subreddit 貼文的 URL*"
    },
    "result.subreddit_members": {
      "type": "integer",
      "description": "*subreddit 成員數量*"
    }
  }
}
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```
