Facebook · Capability

Facebook Instagram API — Comments

Facebook Instagram API — Comments. 1 operations. Lead operation: Facebook Get Instagram Comments. Self-contained Naftiko capability covering one Facebook business surface.

Run with Naftiko FacebookComments

What You Can Do

GET
Getinstagramcomments — Facebook Get Instagram Comments
/v1/{media-id}/comments

MCP Tools

facebook-get-instagram-comments

Facebook Get Instagram Comments

read-only idempotent

Capability Spec

instagram-comments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Facebook Instagram API — Comments
  description: 'Facebook Instagram API — Comments. 1 operations. Lead operation: Facebook Get Instagram Comments. Self-contained
    Naftiko capability covering one Facebook business surface.'
  tags:
  - Facebook
  - Comments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FACEBOOK_API_KEY: FACEBOOK_API_KEY
capability:
  consumes:
  - type: http
    namespace: instagram-comments
    baseUri: https://graph.facebook.com/v21.0
    description: Facebook Instagram API — Comments business capability. Self-contained, no shared references.
    resources:
    - name: media-id-comments
      path: /{media-id}/comments
      operations:
      - name: getinstagramcomments
        method: GET
        description: Facebook Get Instagram Comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: media-id
          in: path
          type: string
          description: The media ID.
          required: true
    authentication:
      type: bearer
      token: '{{env.FACEBOOK_API_KEY}}'
  exposes:
  - type: rest
    namespace: instagram-comments-rest
    port: 8080
    description: REST adapter for Facebook Instagram API — Comments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/{media-id}/comments
      name: media-id-comments
      description: REST surface for media-id-comments.
      operations:
      - method: GET
        name: getinstagramcomments
        description: Facebook Get Instagram Comments
        call: instagram-comments.getinstagramcomments
        with:
          media-id: rest.media-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: instagram-comments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Facebook Instagram API — Comments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: facebook-get-instagram-comments
      description: Facebook Get Instagram Comments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: instagram-comments.getinstagramcomments
      with:
        media-id: tools.media-id
      outputParameters:
      - type: object
        mapping: $.