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

# Get page reviews

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">4 credits</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I need to call the following KeyAPI endpoint. Please generate a complete and directly runnable Python example based on the API information provided below.

## API Information

Endpoint: GET https://api.keyapi.ai/v1/facebook/page_reviews
Summary: Get page reviews

Required Headers:
- Authorization: Bearer <YOUR_API_KEY>

Parameters:
- page_id (Required): No description. Example: 100063543614476
- cursor (Optional): Use cursor to get next page of results.

## Code Requirements

- Use the Python \`requests\` library
- Provide a complete and directly runnable example
- Handle HTTP request errors, timeouts, and non-2xx responses
- Handle JSON parsing errors
- Prefer the Example values provided in the API information for sample parameters
- Keep the code simple and avoid unnecessary abstractions or complexity`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml /en/facebook.openapi.json get /v1/facebook/page_reviews
openapi: 3.0.1
info:
  title: Facebook API English documentation
  description: >-
    The english reference documentation of the Facebook API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production-KeyAPI
security:
  - JWT Bearer: []
tags:
  - name: Pages
  - name: Prefiles
  - name: Groups
  - name: Posts and comments
  - name: Evebts
  - name: Ads Library
  - name: Search
  - name: Marketplace
  - name: Games
paths:
  /v1/facebook/page_reviews:
    get:
      tags:
        - Pages
      summary: Get page reviews
      parameters:
        - name: page_id
          in: query
          description: ''
          required: true
          example: '100063543614476'
          schema:
            type: string
            example: '100063543614476'
        - name: cursor
          in: query
          description: Use cursor to get next page of results
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  results:
                    - type: review
                      post_id: '647784968156719'
                      recommend: true
                      message: |-
                        Polecam. 
                        Mega Ceny!
                        100%
                      author:
                        id: '100087756657025'
                        name: Antoś Go
                        url: >-
                          https://www.facebook.com/people/Anto%C5%9B-Go/100087756657025/
                        profile_picture:
                          uri: >-
                            https://scontent-mia5-1.xx.fbcdn.net/v/t39.30808-1/399264948_297576196510933_6723661076484560111_n.png?stp=cp0_dst-png_s80x80&_nc_cat=106&ccb=1-7&_nc_sid=1d2534&_nc_ohc=WFfxmeLaOUEQ7kNvwHCr00K&_nc_oc=AdqTct-Gc1se9mGYWX-ESF65zFXP8cahWtCVzxmQPDSB10kd_POxsjdgHig8Hq2Z-Rs&_nc_zt=24&_nc_ht=scontent-mia5-1.xx&_nc_gid=2ZTeHl9obY3wP0UsQg3sfQ&_nc_ss=7d289&oh=00_AQKxHt-rdFKHO1mlltBmcivXS39_OamcQ4ylMZmNoenNUw&oe=6AB81B40
                          width: 80
                          height: 80
                          scale: 2
                        is_additional_profile_plus: false
                        delegated_page: null
                        work_info: null
                      reactions_count: 1
                      share: 0
                      photos: []
                      tags: []
                    - type: review
                      post_id: '9291371237645411'
                      recommend: true
                      message: >-
                        Polecam , wysyłka expres . Mój pierwszy i nie ostatni
                        zakup . Pierścionek cudny ❤️
                      author:
                        id: >-
                          pfbid05vLJvhFKmhpB2sY2myfaS4iSf3w5oofntwizUycpLxGYjVQX5csXGvuXWgCT4LYvl
                        name: Dagmara Piechocińska
                        url: https://www.facebook.com/dagmara.zwolinska1
                        profile_picture:
                          uri: >-
                            https://scontent-mia5-1.xx.fbcdn.net/v/t39.30808-1/722974275_27574046738951249_6749077406906105675_n.jpg?stp=cp0_dst-jpg_s80x80_tt6&_nc_cat=102&ccb=1-7&_nc_sid=e99d92&_nc_ohc=YXwVHRmFLlwQ7kNvwGGc3mY&_nc_oc=Adp68YyIU8l6zlbWpGmbIC1cWE6Ae2RtLZJX9MUhbGUVsxn-t-pDrxTfNRMH37Ft5oY&_nc_zt=24&_nc_ht=scontent-mia5-1.xx&_nc_gid=2ZTeHl9obY3wP0UsQg3sfQ&_nc_ss=7d289&oh=00_AQJMVpRtqkQ02nYNFdjIJYujCQE-rKNRrBkyfKAI5OmO5Q&oe=6AB82526
                          width: 80
                          height: 80
                          scale: 2
                        is_additional_profile_plus: false
                        delegated_page: null
                        work_info: null
                      reactions_count: 0
                      share: 0
                      photos: []
                      tags: []
                    - type: review
                      post_id: '9392778227449231'
                      recommend: true
                      message: >-
                        Kupiłem obrączkę różaniec od tego Pana bardzo polecam
                        sprzedawcę nie oszukał, transakcja przeszła bardzo
                        sprawnie i szybko. Jestem bardzo zadowolony!
                      author:
                        id: >-
                          pfbid0NpAdT2jH6mJKiEuQbv6zCfXGiF1jCeLutBdYUCVeki6LctKXio6yiYXa6Z8coC1El
                        name: Patryk Patryk
                        url: https://www.facebook.com/patryk.patryk01
                        profile_picture:
                          uri: >-
                            https://scontent-mia5-2.xx.fbcdn.net/v/t39.30808-1/537521883_24664150353218770_5165433453890568591_n.jpg?stp=cp0_dst-jpg_s80x80_tt6&_nc_cat=100&ccb=1-7&_nc_sid=e99d92&_nc_ohc=qTkFyhVM5rsQ7kNvwHSGt5u&_nc_oc=Ado_cwtiiuNp62Hgd5K3VAtbF8gIytAHXVfYuaHtWMFl9pSMCTZYuqGq_FBAYdVBOfQ&_nc_zt=24&_nc_ht=scontent-mia5-2.xx&_nc_gid=2ZTeHl9obY3wP0UsQg3sfQ&_nc_ss=7d289&oh=00_AQJ3M2srtWwXLnALNvbxL_aIUPHTbFb8m9ZpnxU5wS5XrQ&oe=6AB810FA
                          width: 80
                          height: 80
                          scale: 2
                        is_additional_profile_plus: false
                        delegated_page: null
                        work_info: null
                      reactions_count: 0
                      share: 0
                      photos: []
                      tags: []
                  cursor: >-
                    AQHTZjXK0IV0ZiUk4tqHdmYI2qlZXsHm9VUV_YDTMXEgZN_tMrGSIEQ0HEr3ABwbff4V72W_7rNP1xmd2lteVtvKtg
                requestId: 0d1b3b1b-3843-46b6-a8ec-776af99cde5d
          headers: {}
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '402':
          $ref: '#/components/responses/402'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
      deprecated: false
      security:
        - JWT Bearer: []
components:
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            example:
              code: 400
              data: null
              message: 'Missing required parameter: handle'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            example:
              code: 401
              data: null
              message: apiKey is null
    '402':
      description: Payment Required
      content:
        application/json:
          schema:
            type: object
            example:
              code: 402
              data: null
              message: apiKey quota is not enough
    '429':
      description: Too Many Requests
      content:
        application/json:
          schema:
            type: object
            example:
              code: 429
              data: null
              message: qps limit exceeded
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            example:
              code: 500
              data: null
              message: Internal server error
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````