查看原始 JSON
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "object",
"title": "Facebook Profile Scraper",
"required": [
"endpoint"
],
"properties": {
"end_date": {
"type": "string",
"title": "End date (YYYY-MM-DD) (optional)",
"editor": "textfield",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "可选的帖子筛选结束日期,格式为 YYYY-MM-DD,用于账号帖子及关键词帖子搜索,不作用于资料或 ID 查询。不能假定结束日期一定包含、采用 UTC 或会改变返回顺序。"
},
"endpoint": {
"enum": [
"profile_posts_by_url",
"profile_posts",
"search_posts_by_keyword",
"details_by_id",
"details_by_url",
"profile_id_by_url"
],
"type": "string",
"title": "SELECT ENDPOINT",
"editor": "select",
"prefill": "details_by_url",
"enumTitles": [
"Profile posts by URL",
"Profile posts by ID",
"Search Posts by Keyword",
"Profile details by ID",
"Profile details by URL",
"Profile ID by URL"
],
"description": "必填,每次选择一种操作:profile_posts_by_url 使用 urls_text;profile_posts 使用 ids_text;search_posts_by_keyword 使用 keywords_text;details_by_id 使用 ids_text;details_by_url 与 profile_id_by_url 使用 urls_text。预填的 details_by_url 只是示例,不是默认模式。"
},
"ids_text": {
"type": "string",
"title": "Profile IDs (one per line)",
"editor": "textarea",
"description": "用于 profile_posts 或 details_by_id 的文本,每行填写一个账号 ID,并保留为文本。选择基于 ID 的操作时需有可用 ID;链接或关键词模式不填写此字段。"
},
"max_posts": {
"type": "integer",
"title": "Max posts per target (optional)",
"editor": "number",
"minimum": 0,
"prefill": 0,
"description": "可选整数,最小为 0。服务将 0 解释为不限制可取得的帖子条数,不是返回零条;表单预填 0,但输入没有明确的数值默认项。正数限制每个账号或查询词的帖子数,不限制辅助 ID 记录或整批输出总数,也不保证恰好返回指定条数。资料和 ID 查询不使用此上限。"
},
"urls_text": {
"type": "string",
"title": "Profile URLs (one per line)",
"editor": "textarea",
"prefill": "https://www.facebook.com/people/Pizza-Florida/100063663337621/",
"description": "用于 profile_posts_by_url、details_by_url 或 profile_id_by_url 的文本,每行填写一个账号主页链接或用户名。预填链接只是示例,不是默认值,也不保证目前可访问。基于 ID 或关键词的模式不填写此字段。"
},
"start_date": {
"type": "string",
"title": "Start date (YYYY-MM-DD) (optional)",
"editor": "textfield",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "可选的帖子筛选开始日期,格式为 YYYY-MM-DD,用于账号帖子及关键词帖子搜索,不作用于资料或 ID 查询,也不接受具体时刻或相对时段。不保证特定时区、边界日期一定包含或该日期范围内完整覆盖。"
},
"keywords_text": {
"type": "string",
"title": "Keywords (one per line)",
"editor": "textarea",
"description": "仅用于 search_posts_by_keyword 的文本,每行填写一个查询词;该模式需要可用查询词。结果可能不完整或为空,不代表所有公开 Facebook 帖子的清单。账号或 ID 操作不填写此字段。"
}
},
"description": "必填请求对象。选择一种操作,用逐行文本提供对应链接、ID 或查询词。可选帖子上限和日期条件用于帖子操作;其他模式返回账号资料或 ID。",
"schemaVersion": 1
}
},
"additionalProperties": false
}