> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook 视频字幕

> 从公开 Facebook 视频和Reels中提取视频字幕。

# Facebook 视频字幕

```json theme={"system"}
{"urls": ["https://www.facebook.com/reel/VIDEO_ID"]}
```

## 与 MCP 一起使用

| 接口          | 值                                                   |
| ----------- | --------------------------------------------------- |
| REST        | `POST /v1/facebook/transcripts`                     |
| Compact MCP | `socq_execute` 与 `endpoint: "facebook/transcripts"` |
| Typed MCP   | `socq_facebook_transcripts`                         |
| CLI         | `socq facebook transcripts`                         |

每个可用的转录本都以标准化纯文本形式返回。


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/facebook/transcripts
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-57489840196e
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/facebook/transcripts:
    post:
      tags:
        - facebook
      summary: Facebook Video Transcripts API
      description: Extract transcripts from public Facebook videos and reels.
      operationId: socq_facebook_transcripts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                urls:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  description: Public profile or content URLs.
              required:
                - urls
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
            idempotent_replay:
              type: boolean
          required:
            - task_id
            - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````