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

# Get a Group's recent feed posts

> Get the Group's most recently pinned/highlighted feed post(s) by id or url.



## OpenAPI

````yaml get /v1/facebook/group/posts
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: AutoTrader
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: Instagram
  - name: Twitter
  - name: Facebook
  - name: Hacker News
  - name: GitHub
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/facebook/group/posts:
    get:
      tags:
        - Facebook
      summary: Get a Group's recent feed posts
      description: >-
        Retrieves the Group's most recently pinned/highlighted feed post(s),
        same Story shape as `GET /v1/facebook/posts`. Requires a Starter plan or
        higher.
      operationId: getFacebookGroupPosts
      parameters:
        - name: id
          in: query
          required: false
          schema:
            type: string
            minLength: 1
        - name: url
          in: query
          required: false
          schema:
            type: string
            format: uri
      responses:
        '200':
          description: The Group's most recent feed post(s).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacebookGroupPostsResponse'
        '400':
          description: Missing both id and url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Facebook dedicated endpoints require a Starter plan or higher.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested Group could not be found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Daily credit cap exceeded, or Facebook rate-limited the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Facebook blocked the request or returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: The Facebook execution backend is unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/facebook/group/posts?id=pythondevelopers"
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    FacebookGroupPostsResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - facebook
        request_id:
          type: string
        posts:
          type: array
          items:
            type: object
            properties:
              id:
                anyOf:
                  - type: string
                  - type: 'null'
              url:
                anyOf:
                  - type: string
                  - type: 'null'
              type:
                anyOf:
                  - type: string
                    enum:
                      - photo
                      - video
                      - text
                      - link
                      - other
                  - type: 'null'
              message:
                anyOf:
                  - type: string
                  - type: 'null'
              created_at:
                anyOf:
                  - type: string
                  - type: 'null'
              author:
                type: object
                properties:
                  name:
                    anyOf:
                      - type: string
                      - type: 'null'
                  id:
                    anyOf:
                      - type: string
                      - type: 'null'
                  url:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - name
                  - id
                  - url
                additionalProperties: false
              media:
                type: object
                properties:
                  image_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  video_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - image_url
                  - video_url
                additionalProperties: false
              stats:
                type: object
                properties:
                  likes:
                    anyOf:
                      - type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                  comments:
                    anyOf:
                      - type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                  shares:
                    anyOf:
                      - type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                required:
                  - likes
                  - comments
                  - shares
                additionalProperties: false
            required:
              - id
              - url
              - type
              - message
              - created_at
              - author
              - media
              - stats
            additionalProperties: false
      required:
        - provider
        - request_id
        - posts
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````