{
  "openapi": "3.1.0",
  "info": {
    "title": "Facebook Tìm Kiếm Bài Viết API (V1)",
    "version": "v0",
    "description": "Tìm bài đăng công khai trên Facebook theo từ khóa. Có thể lọc theo khoảng ngày bao gồm cả ngày đầu lẫn ngày cuối, rồi phân trang bằng con trỏ. Dùng để tìm bài theo chủ đề hoặc tiếp tục tìm nội dung công khai trong một khoảng thời gian."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API sản xuất toàn cục (mặc định)"
    }
  ],
  "tags": [
    {
      "name": "Facebook",
      "description": "Dữ liệu tìm kiếm trang và bài đăng trên Facebook để giám sát tài khoản, phát hiện từ khóa và phân tích nội dung mạng xã hội.",
      "x-platform-id": "facebook",
      "x-platform-aliases": [
        "Facebook",
        "FB"
      ],
      "x-platform-detection-aliases": [
        "Facebook",
        "FB"
      ]
    }
  ],
  "paths": {
    "/api/facebook/search-post/v1": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Tìm Kiếm Bài Viết",
        "description": "Tìm bài đăng công khai trên Facebook theo từ khóa. Có thể lọc theo khoảng ngày bao gồm cả ngày đầu lẫn ngày cuối, rồi phân trang bằng con trỏ. Dùng để tìm bài theo chủ đề hoặc tiếp tục tìm nội dung công khai trong một khoảng thời gian.",
        "operationId": "getApiFacebookSearchPostV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Token bảo mật của người dùng để xác thực quyền truy cập API.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "Từ khóa để tìm kiếm trong các bài đăng công cộng. Hỗ trợ việc tìm kiếm văn bản cơ bản.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "Ngày bắt đầu của phạm vi tìm kiếm (bao gồm), được định dạng dưới dạng yyyy-MM-dd.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "Ngày kết thúc của phạm vi tìm kiếm (bao gồm), được định dạng dưới dạng yyyy-MM-dd.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "Cursor định dạng để lấy kết quả tiếp theo.",
            "required": false,
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "Một trang chứa các bài đăng công khai trên Facebook cùng con trỏ định dạng trang. Tìm kiếm theo ngày có thể trả về các bài đăng nằm ngoài phạm vi được chọn. Kiểm tra thời điểm đăng bài của mỗi bài đăng khi bạn cần giới hạn ngày tháng chặt chẽ.",
                        "properties": {
                          "cursor": {
                            "type": "string",
                            "description": "Con trỏ định dạng trang để tiếp tục tìm kiếm. Chuyển qua chuỗi được trả về mà không thay đổi, với cùng các tham số tìm kiếm."
                          },
                          "results": {
                            "type": "array",
                            "description": "Các bài đăng công khai được hiển thị trên trang tìm kiếm hiện tại.",
                            "items": {
                              "type": "object",
                              "description": "Một bài đăng công khai trên Facebook trong kết quả tìm kiếm.",
                              "properties": {
                                "post_id": {
                                  "type": "string",
                                  "description": "ID bài đăng Facebook, được trả về dưới dạng chuỗi."
                                },
                                "type": {
                                  "type": "string",
                                  "description": "Thẻ loại được báo cáo cho kết quả tìm kiếm."
                                },
                                "url": {
                                  "type": "string",
                                  "description": "Liên kết đến bài đăng trên Facebook."
                                },
                                "message": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Văn bản bài đăng, nếu có sẵn."
                                },
                                "message_rich": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Biểu diễn văn bản thay thế của tin nhắn bài đăng, nếu được cung cấp."
                                },
                                "timestamp": {
                                  "type": "integer",
                                  "description": "Thời gian đăng bài dưới dạng giây Unix."
                                },
                                "was_detected_as_ai_generated": {
                                  "type": [
                                    "boolean",
                                    "null"
                                  ],
                                  "description": "Tình trạng có biểu thị nội dung được tạo bởi AI hay không, nếu được báo cáo."
                                },
                                "was_self_disclosed_as_ai_generated": {
                                  "type": [
                                    "boolean",
                                    "null"
                                  ],
                                  "description": "Tình trạng có thông báo rằng bài đăng được tạo bởi AI hay không, nếu được báo cáo."
                                },
                                "comments_count": {
                                  "type": "integer",
                                  "description": "Số lần bình luận được báo cáo cho bài viết."
                                },
                                "reactions_count": {
                                  "type": "integer",
                                  "description": "Số lượng phản ứng tổng hợp được báo cáo cho bài đăng."
                                },
                                "reshare_count": {
                                  "type": "integer",
                                  "description": "Số lần chia sẻ bài đăng được báo cáo."
                                },
                                "reactions": {
                                  "type": "object",
                                  "description": "Số lượng phản ứng cụ thể trên Facebook được báo cáo.",
                                  "properties": {
                                    "like": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Thích”."
                                    },
                                    "love": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Yêu”."
                                    },
                                    "care": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Quan tâm”."
                                    },
                                    "haha": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Cười”."
                                    },
                                    "wow": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Kinh ngạc”."
                                    },
                                    "sad": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Buồn”."
                                    },
                                    "angry": {
                                      "type": "integer",
                                      "description": "Số lượng phản ứng “Giận dữ”."
                                    }
                                  }
                                },
                                "author": {
                                  "type": "object",
                                  "description": "Tên tác giả được ghi kèm trong bài đăng.",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID tác giả trên Facebook, được trả về dưới dạng chuỗi."
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Tên hiển thị của tác giả."
                                    },
                                    "url": {
                                      "type": "string",
                                      "description": "Liên kết đến trang hoặc hồ sơ của tác giả trên Facebook."
                                    },
                                    "profile_picture_url": {
                                      "type": "string",
                                      "description": "URL của hình ảnh đại diện của tác giả."
                                    }
                                  }
                                },
                                "authors": {
                                  "type": "array",
                                  "description": "Danh sách các tác giả được ghi nhận trong bài viết.",
                                  "items": {
                                    "type": "object",
                                    "description": "Một tác giả được ghi nhận trong bài viết.",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID tác giả trên Facebook, được trả về dưới dạng chuỗi."
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Tên hiển thị của tác giả."
                                      },
                                      "url": {
                                        "type": "string",
                                        "description": "Liên kết đến trang hoặc hồ sơ của tác giả trên Facebook."
                                      },
                                      "profile_picture_url": {
                                        "type": "string",
                                        "description": "URL của hình ảnh đại diện của tác giả."
                                      }
                                    }
                                  }
                                },
                                "image": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Hình ảnh được đính kèm trong bài viết, nếu có.",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID hình ảnh trên Facebook, được trả về dưới dạng chuỗi ký tự."
                                    },
                                    "uri": {
                                      "type": "string",
                                      "description": "URL tệp hình ảnh."
                                    },
                                    "width": {
                                      "type": "integer",
                                      "description": "Chiều rộng của hình ảnh được ghi nhận, tính bằng pixel."
                                    },
                                    "height": {
                                      "type": "integer",
                                      "description": "Chiều cao của hình ảnh được ghi nhận, tính bằng pixel."
                                    }
                                  }
                                },
                                "images_count": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ],
                                  "description": "Số lượng hình ảnh được ghi nhận trong bài viết, nếu có."
                                },
                                "album_preview": {
                                  "type": [
                                    "array",
                                    "null"
                                  ],
                                  "description": "Trích đoạn nội dung của album ảnh được đính kèm trong bài viết, nếu có.",
                                  "items": {
                                    "type": "object",
                                    "description": "Một trích đoạn nội dung của album ảnh.",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID của tập tin hình ảnh trong trích đoạn nội dung, được trả về dưới dạng chuỗi ký tự."
                                      },
                                      "type": {
                                        "type": "string",
                                        "description": "Loại hình ảnh trong trích đoạn nội dung của album ảnh."
                                      },
                                      "image_file_uri": {
                                        "type": "string",
                                        "description": "URL tệp hình ảnh cho trích đoạn nội dung của album ảnh."
                                      },
                                      "url": {
                                        "type": "string",
                                        "description": "Liên kết trên Facebook liên quan đến trích đoạn nội dung của album ảnh."
                                      }
                                    }
                                  }
                                },
                                "video": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Liên kết trên Facebook đến video được đính kèm trong bài viết, nếu có."
                                },
                                "video_files": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Liên kết tệp video được trả về, nếu có.",
                                  "properties": {
                                    "video_sd_file": {
                                      "type": "string",
                                      "description": "URL tệp video định dạng tiêu chuẩn."
                                    },
                                    "video_hd_file": {
                                      "type": "string",
                                      "description": "URL tệp video định dạng cao."
                                    }
                                  }
                                },
                                "video_thumbnail": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "URL hình thu nhỏ của video, nếu có."
                                },
                                "external_url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Trang web bên ngoài được liên kết từ bài viết, nếu có."
                                },
                                "attached_post": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Một bài viết khác trên Facebook được liên kết với kết quả này, nếu có.",
                                  "properties": {
                                    "post_id": {
                                      "type": "string",
                                      "description": "ID bài viết được liên kết trên Facebook, được trả về dưới dạng chuỗi ký tự."
                                    },
                                    "url": {
                                      "type": "string",
                                      "description": "Liên kết bài viết được liên kết trên Facebook."
                                    },
                                    "message": {
                                      "type": "string",
                                      "description": "Nội dung bài viết được liên kết."
                                    },
                                    "author": {
                                      "type": "object",
                                      "description": "Tác giả của bài đăng được gửi kèm.",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "description": "ID tác giả trên Facebook, được trả về dưới dạng chuỗi."
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "Tên hiển thị của tác giả."
                                        },
                                        "url": {
                                          "type": "string",
                                          "description": "Liên kết đến trang hoặc hồ sơ của tác giả trên Facebook."
                                        }
                                      }
                                    },
                                    "photo_url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "URL hình ảnh được cung cấp kèm theo bài đăng, nếu có."
                                    },
                                    "video_url": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "URL video được cung cấp kèm theo bài đăng, nếu có."
                                    }
                                  }
                                },
                                "attached_post_url": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Liên kết đến bài đăng trên Facebook, nếu có."
                                },
                                "associated_group_id": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID của nhóm Facebook liên quan đến bài đăng, nếu có."
                                },
                                "associated_group": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "Thông tin chi tiết về nhóm Facebook liên quan đến bài đăng, nếu có.",
                                  "properties": {
                                    "group_id": {
                                      "type": "string",
                                      "description": "ID nhóm Facebook, được trả về dưới dạng chuỗi ký tự."
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Tên hiển thị của nhóm Facebook."
                                    },
                                    "url": {
                                      "type": "string",
                                      "description": "Liên kết đến nhóm Facebook."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "format": "int32",
                          "enum": [
                            0,
                            100,
                            101,
                            202,
                            300,
                            301,
                            302,
                            303,
                            400,
                            404,
                            500,
                            503,
                            600,
                            601,
                            602
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "data": {},
                        "recordTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "requestId": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "requestParams": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "object"
                              }
                            },
                            "body": {
                              "type": "object",
                              "properties": {
                                "empty": {
                                  "type": "boolean"
                                },
                                "array": {
                                  "type": "boolean"
                                },
                                "null": {
                                  "type": "boolean"
                                },
                                "object": {
                                  "type": "boolean"
                                },
                                "float": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Các tham số hoặc nội dung yêu cầu không hợp lệ.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Tài khoản truy cập không hợp lệ hoặc không hoạt động.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Quyền truy cập bị từ chối.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Tốc độ yêu cầu hoặc giới hạn hàng ngày đã vượt quá.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Lỗi máy chủ nội bộ.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "Dịch vụ tạm thời không khả dụng.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "x-order": "30001000",
        "x-api-version": "v1",
        "x-docs-slug": "post-search-v1",
        "x-search-aliases": [
          "Facebook public post search",
          "Facebook keyword post search",
          "Facebook posts by date range",
          "Facebook 公开帖子搜索",
          "Facebook 关键词帖子查询",
          "Facebook 按日期搜索帖子"
        ],
        "x-highlights": [],
        "x-endpoint-family": "facebook_search_post"
      }
    }
  }
}