{
  "data": {
    "id": "iWZyOhRDXGOcJUHsx",
    "actId": "6cWb90M5mWHHhPz3O",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-17T01:11:31.463Z",
    "finishedAt": "2026-11-17T01:11:34.857Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Facebook Keyword Search Input\",\n  \"description\": \"Search public Facebook videos, hashtag posts and Pages/places by keyword without login.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Search type\",\n      \"type\": \"string\",\n      \"description\": \"Which public Facebook surface to search.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"videos\",\n        \"posts\",\n        \"places\",\n        \"urls\"\n      ],\n      \"enumTitles\": [\n        \"Videos\",\n        \"Posts\",\n        \"Places\",\n        \"Direct URLs\"\n      ],\n      \"default\": \"videos\",\n      \"prefill\": \"videos\"\n    },\n    \"searchTerms\": {\n      \"title\": \"Search terms\",\n      \"type\": \"array\",\n      \"description\": \"Keywords or hashtags to search. One search per term. (mode=videos, posts, places)\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"prefill\": [\n        \"coffee\"\n      ]\n    },\n    \"startUrls\": {\n      \"title\": \"Start URLs\",\n      \"type\": \"array\",\n      \"description\": \"Facebook search, post, video or place URLs to read directly. (mode=urls)\",\n      \"editor\": \"requestListSources\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"url\": {\n            \"type\": \"string\",\n            \"title\": \"Facebook URL\",\n            \"description\": \"A Facebook search, post, video or place URL.\"\n          }\n        }\n      }\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum results\",\n      \"type\": \"integer\",\n      \"description\": \"Total result cap across all search terms and URLs.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 50,\n      \"prefill\": 3\n    },\n    \"maxItemsPerTerm\": {\n      \"title\": \"Maximum results per term\",\n      \"type\": \"integer\",\n      \"description\": \"Per-term result cap across all variants of one search term.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 30,\n      \"prefill\": 3\n    },\n    \"requireSearchTerm\": {\n      \"title\": \"Require the search term in the result\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep only rows whose text, name, category or hashtag contains every word of the search term.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minViews\": {\n      \"title\": \"Minimum video views\",\n      \"type\": \"integer\",\n      \"description\": \"Drop videos below this view count. (mode=videos)\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"postSourceType\": {\n      \"title\": \"Author type\",\n      \"type\": \"string\",\n      \"description\": \"Keep posts/videos from Pages, profiles or groups when Facebook exposes the author type. (mode=posts, videos)\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"page\",\n        \"profile\",\n        \"group\"\n      ],\n      \"enumTitles\": [\n        \"Any author\",\n        \"Pages only\",\n        \"Profiles only\",\n        \"Groups only\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort videos by\",\n      \"type\": \"string\",\n      \"description\": \"Relevance uses Facebook search order; recent asks Facebook for the newest videos and sorts results by publish date. (mode=videos)\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"recent\"\n      ],\n      \"enumTitles\": [\n        \"Relevance\",\n        \"Most recent\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"dateFilter\": {\n      \"title\": \"Publish date\",\n      \"type\": \"string\",\n      \"description\": \"Keep only videos/posts published within this window when a publish date is exposed. (mode=posts, videos)\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"past-24h\",\n        \"past-week\",\n        \"past-month\",\n        \"past-year\"\n      ],\n      \"enumTitles\": [\n        \"Any time\",\n        \"Past 24 hours\",\n        \"Past week\",\n        \"Past month\",\n        \"Past year\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"location\": {\n      \"title\": \"Location hint\",\n      \"type\": \"string\",\n      \"description\": \"City or country added to the search phrase for Places and Videos, e.g. London.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"expandHashtags\": {\n      \"title\": \"Expand related hashtags\",\n      \"type\": \"boolean\",\n      \"description\": \"For posts, also read up to three hashtags found in the first matching post to find more public posts. Adds requests. (mode=posts)\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"requireLocation\": {\n      \"title\": \"Only places with a location\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep only Pages that publish an address or map coordinates. (mode=places)\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"rehostMedia\": {\n      \"title\": \"Store media in Apify storage\",\n      \"type\": \"boolean\",\n      \"description\": \"Copy post images and video thumbnails to the run key-value store so the URLs do not expire. Turn off to keep the original Facebook CDN URLs.\",\n      \"default\": true,\n      \"prefill\": true\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Facebook Keyword Search for Videos, Hashtag Posts & Places\n\nSearch public Facebook content by keyword without logging in. The actor reads Facebook's public Watch search for videos, its hashtag Explore pages for featured public posts, and its public Page directory plus Ad Library page suggestions for businesses and places. Every row is real public data; empty fields are omitted instead of being filled with nulls or placeholders.\n\nFacebook keeps most logged-out search surfaces closed. This actor is deliberately built around the surfaces that still answer anonymously, and it tells you the limits plainly in the sections below.\n\n## What this actor does\n\n- **Four ways to search:** `videos` for Watch keyword results, `posts` for public hashtag posts, `places` for public Pages/businesses, and `urls` for direct Facebook links.\n- **Useful video rows:** caption, owner, publish date, duration, view count, reactions, comments, shares, live status and a thumbnail stored in the run's key-value store so it does not expire.\n- **Useful post rows:** text, author, publish date, hashtags, mentions, links, images and engagement counts. Turn on related-hashtag expansion to follow up to three hashtags found in the first matching post.\n- **Useful place rows:** address, city, country, postal code, map coordinates, phone, email, website, category, recommendation percentage, review count, followers, check-ins, price range and services.\n- **Filters that work client-side:** publish window, minimum video views, author type, must-contain-keyword and places-with-a-location.\n- **No login, no cookies, no API key.** No Facebook account is needed to run it.\n\n## Output per video (mode = `videos`)\n\n- `videoId` — Facebook video identifier.\n- `postId` — identifier of the post that contains the video, when Facebook exposes it.\n- `url` — canonical reel or Watch URL.\n- `caption` — public caption text, when present.\n- `publishDate` — ISO 8601 publish date.\n- `ownerName`, `ownerId`, `ownerUrl`, `ownerType` — video owner and whether it is a page or profile.\n- `ownerVerified` — verification badge when Facebook exposes it to logged-out visitors.\n- `thumbnailUrl` — durable thumbnail stored in the run's key-value store.\n- `thumbnailUrlOriginal` — the original signed Facebook CDN thumbnail.\n- `durationSeconds` — video length in seconds.\n- `viewCount`, `reactionCount`, `commentCount`, `shareCount` — public engagement counters.\n- `isLive` — whether the video is a live broadcast.\n- `liveViewerCount` — current live viewers when the video is live.\n- `searchTerm`, `searchRank` — the query that found the row and its order in that query.\n- `searchUrl` — the Facebook search URL that produced the row.\n- `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Output per post (mode = `posts`)\n\n- `postId`, `url`, `text`, `publishDate`.\n- `authorName`, `authorId`, `authorUrl`, `authorType`, `authorVerified`.\n- `groupName`, `groupId` — when the post is attached to a public group.\n- `hashtag` — the hashtag Explore page that surfaced the post.\n- `hashtags`, `mentions`, `links` — extracted from the post text.\n- `imageUrls` — durable copies of post photos in the run's key-value store; `imageUrlsOriginal` keeps the signed Facebook URLs.\n- `videoUrls` — public video/reel page URLs attached to the post.\n- `reactionCount`, `commentCount`, `shareCount`, `viewCount`.\n- `searchTerm`, `searchRank`, `searchUrl`, `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Output per place (mode = `places`)\n\n- `placeId` — numeric Facebook Page identifier.\n- `name`, `url`, `verified`, `category`.\n- `address`, `city`, `region`, `postalCode`, `country`.\n- `latitude`, `longitude` — coordinates from the Page's public map link.\n- `phone`, `email`, `website`.\n- `ratingText`, `recommendPercentage`, `reviewCount` — Facebook recommendation data when the Page shows it.\n- `followers`, `likes`, `checkins`, `talkingAboutCount`.\n- `priceRange`, `services`, `businessHours`, `about`.\n- `searchTerm`, `searchRank`, `searchUrl`, `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `videos` | `videos`, `posts`, `places` or `urls`. |\n| `searchTerms` | array | – | Keywords or hashtags; one search per term. Required for `videos`, `posts` and `places`. The daily prefill uses `[\"coffee\"]`. |\n| `startUrls` | array | – | Direct Facebook search, post, reel, hashtag or Page URLs for `urls`. |\n| `maxItems` | integer | `50` | Total row cap across all terms and URLs (1–5,000). |\n| `maxItemsPerTerm` | integer | `30` | Row cap for one search term (1–500). |\n| `requireSearchTerm` | boolean | `false` | Keep only rows whose text, name, category or hashtag contains every word of the term. |\n| `minViews` | integer | `0` | Drop videos below this view count (mode `videos`). |\n| `postSourceType` | string | `any` | Keep `page`, `profile` or `group` authors when the author type is exposed. |\n| `sortBy` | string | `relevance` | `relevance` keeps Facebook order; `recent` asks for recent videos and sorts by publish date. |\n| `dateFilter` | string | `any` | `past-24h`, `past-week`, `past-month` or `past-year`; rows without a date pass through. |\n| `location` | string | – | City or country added to the search phrase for places and videos. |\n| `expandHashtags` | boolean | `false` | For posts, follow up to three hashtags found in the first matching post. |\n| `requireLocation` | boolean | `false` | For places, keep only Pages with an address or map coordinates. |\n| `rehostMedia` | boolean | `true` | Copy signed Facebook images/thumbnails into Apify storage so the URLs stay available. |\n\n### Example: find videos about a topic\n\n```json\n{\n  \"mode\": \"videos\",\n  \"searchTerms\": [\"coffee\", \"espresso\"],\n  \"sortBy\": \"recent\",\n  \"dateFilter\": \"past-month\",\n  \"minViews\": 1000,\n  \"maxItems\": 25\n}\n```\n\n### Example: collect public hashtag posts\n\n```json\n{\n  \"mode\": \"posts\",\n  \"searchTerms\": [\"coffee\", \"specialtycoffee\"],\n  \"expandHashtags\": true,\n  \"maxItems\": 20\n}\n```\n\n### Example: discover coffee places in a city\n\n```json\n{\n  \"mode\": \"places\",\n  \"searchTerms\": [\"coffee\"],\n  \"location\": \"London\",\n  \"requireLocation\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: read direct Facebook links\n\n```json\n{\n  \"mode\": \"urls\",\n  \"startUrls\": [\n    { \"url\": \"https://www.facebook.com/reel/5046057592281891/\" },\n    { \"url\": \"https://www.facebook.com/ozonecoffeeuk/\" }\n  ],\n  \"maxItems\": 10\n}\n```\n\n## Use cases\n\n- **Social listening** — track public video conversations around a product, city or event.\n- **Local lead research** — collect public business Pages with phone, address, website and rating.\n- **Content research** — find public videos and hashtag posts in a niche before planning a campaign.\n- **Brand monitoring** — pull public engagement counts for a keyword without touching an account.\n- **Data enrichment** — paste known Facebook Page or post URLs and get normalized records.\n\n## Limits and Facebook behaviour\n\nFacebook does not publish a complete logged-out keyword index. This actor returns what the public surfaces expose:\n\n- **Videos:** Facebook's Watch search serves a small first page (typically 5–7 videos per request). The actor asks several public variants of the same search and de-duplicates, which usually yields about 7–14 unique videos per term. Deep cursor pagination is not available without login, so use more terms for more rows.\n- **Posts:** Facebook's generic `/search/posts` route returns 404 to logged-out visitors, and its search GraphQL rate-limits anonymous clients. Post discovery therefore uses public hashtag Explore pages (one featured post per hashtag request, plus related hashtags when enabled) and any direct post URLs you supply. This is not the full public post index.\n- **Places:** Facebook's Places tab is likewise closed to logged-out visitors. Place discovery uses the public Ad Library Page suggestions and then reads each Page's public root. A suggestion can be a brand, artist or online business with no street address; turn on `requireLocation` to keep only Pages that publish a location.\n- **Engagement counts** are only those Facebook displays to logged-out visitors. Hidden counts are omitted.\n- **Media URLs** from Facebook's CDN are signed and expire. The actor copies images and thumbnails into Apify storage by default and keeps the original URL in `<field>Original`.\n- **Location** is a query hint, not a strict geographic boundary. Use the returned address to verify.\n\n### Do I need a Facebook account or cookies?\n\nNo. The actor never asks for a login, cookie or Facebook API key. It reads only public pages.\n\n### Do I need to set up a proxy?\n\nNo. The actor chooses a working public connection automatically. You do not configure a proxy.\n\n### Why are there fewer posts than a logged-in search would show?\n\nBecause Facebook requires a session for its full search index. The actor stays cookie-free, so it uses the hashtag Explore surface instead and says so here rather than pretending to have the full index.\n\n### Are the image URLs permanent?\n\nThe default `rehostMedia: true` copies them into Apify storage, so the `thumbnailUrl` and `imageUrls` fields keep working after Facebook's signed links expire. Set it to `false` if you prefer the original Facebook URLs.\n\n### Is this affiliated with Facebook or Meta?\n\nNo. This is an independent third-party actor that reads public Facebook pages.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "fb-keyword-search-scraper",
      "title": "Facebook Keyword Search for Videos, Hashtag Posts & Places",
      "description": "Search public Facebook videos, hashtag posts and Pages/places by keyword without login. Returns captions, engagement, addresses, phones, ratings, review counts and coordinates.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Facebook Keyword Search for Videos, Hashtag Posts & Places\n\nSearch public Facebook content by keyword without logging in. The actor reads Facebook's public Watch search for videos, its hashtag Explore pages for featured public posts, and its public Page directory plus Ad Library page suggestions for businesses and places. Every row is real public data; empty fields are omitted instead of being filled with nulls or placeholders.\n\nFacebook keeps most logged-out search surfaces closed. This actor is deliberately built around the surfaces that still answer anonymously, and it tells you the limits plainly in the sections below.\n\n## What this actor does\n\n- **Four ways to search:** `videos` for Watch keyword results, `posts` for public hashtag posts, `places` for public Pages/businesses, and `urls` for direct Facebook links.\n- **Useful video rows:** caption, owner, publish date, duration, view count, reactions, comments, shares, live status and a thumbnail stored in the run's key-value store so it does not expire.\n- **Useful post rows:** text, author, publish date, hashtags, mentions, links, images and engagement counts. Turn on related-hashtag expansion to follow up to three hashtags found in the first matching post.\n- **Useful place rows:** address, city, country, postal code, map coordinates, phone, email, website, category, recommendation percentage, review count, followers, check-ins, price range and services.\n- **Filters that work client-side:** publish window, minimum video views, author type, must-contain-keyword and places-with-a-location.\n- **No login, no cookies, no API key.** No Facebook account is needed to run it.\n\n## Output per video (mode = `videos`)\n\n- `videoId` — Facebook video identifier.\n- `postId` — identifier of the post that contains the video, when Facebook exposes it.\n- `url` — canonical reel or Watch URL.\n- `caption` — public caption text, when present.\n- `publishDate` — ISO 8601 publish date.\n- `ownerName`, `ownerId`, `ownerUrl`, `ownerType` — video owner and whether it is a page or profile.\n- `ownerVerified` — verification badge when Facebook exposes it to logged-out visitors.\n- `thumbnailUrl` — durable thumbnail stored in the run's key-value store.\n- `thumbnailUrlOriginal` — the original signed Facebook CDN thumbnail.\n- `durationSeconds` — video length in seconds.\n- `viewCount`, `reactionCount`, `commentCount`, `shareCount` — public engagement counters.\n- `isLive` — whether the video is a live broadcast.\n- `liveViewerCount` — current live viewers when the video is live.\n- `searchTerm`, `searchRank` — the query that found the row and its order in that query.\n- `searchUrl` — the Facebook search URL that produced the row.\n- `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Output per post (mode = `posts`)\n\n- `postId`, `url`, `text`, `publishDate`.\n- `authorName`, `authorId`, `authorUrl`, `authorType`, `authorVerified`.\n- `groupName`, `groupId` — when the post is attached to a public group.\n- `hashtag` — the hashtag Explore page that surfaced the post.\n- `hashtags`, `mentions`, `links` — extracted from the post text.\n- `imageUrls` — durable copies of post photos in the run's key-value store; `imageUrlsOriginal` keeps the signed Facebook URLs.\n- `videoUrls` — public video/reel page URLs attached to the post.\n- `reactionCount`, `commentCount`, `shareCount`, `viewCount`.\n- `searchTerm`, `searchRank`, `searchUrl`, `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Output per place (mode = `places`)\n\n- `placeId` — numeric Facebook Page identifier.\n- `name`, `url`, `verified`, `category`.\n- `address`, `city`, `region`, `postalCode`, `country`.\n- `latitude`, `longitude` — coordinates from the Page's public map link.\n- `phone`, `email`, `website`.\n- `ratingText`, `recommendPercentage`, `reviewCount` — Facebook recommendation data when the Page shows it.\n- `followers`, `likes`, `checkins`, `talkingAboutCount`.\n- `priceRange`, `services`, `businessHours`, `about`.\n- `searchTerm`, `searchRank`, `searchUrl`, `recordType`, `sourceUrl`, `scrapedAt`.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `videos` | `videos`, `posts`, `places` or `urls`. |\n| `searchTerms` | array | – | Keywords or hashtags; one search per term. Required for `videos`, `posts` and `places`. The daily prefill uses `[\"coffee\"]`. |\n| `startUrls` | array | – | Direct Facebook search, post, reel, hashtag or Page URLs for `urls`. |\n| `maxItems` | integer | `50` | Total row cap across all terms and URLs (1–5,000). |\n| `maxItemsPerTerm` | integer | `30` | Row cap for one search term (1–500). |\n| `requireSearchTerm` | boolean | `false` | Keep only rows whose text, name, category or hashtag contains every word of the term. |\n| `minViews` | integer | `0` | Drop videos below this view count (mode `videos`). |\n| `postSourceType` | string | `any` | Keep `page`, `profile` or `group` authors when the author type is exposed. |\n| `sortBy` | string | `relevance` | `relevance` keeps Facebook order; `recent` asks for recent videos and sorts by publish date. |\n| `dateFilter` | string | `any` | `past-24h`, `past-week`, `past-month` or `past-year`; rows without a date pass through. |\n| `location` | string | – | City or country added to the search phrase for places and videos. |\n| `expandHashtags` | boolean | `false` | For posts, follow up to three hashtags found in the first matching post. |\n| `requireLocation` | boolean | `false` | For places, keep only Pages with an address or map coordinates. |\n| `rehostMedia` | boolean | `true` | Copy signed Facebook images/thumbnails into Apify storage so the URLs stay available. |\n\n### Example: find videos about a topic\n\n```json\n{\n  \"mode\": \"videos\",\n  \"searchTerms\": [\"coffee\", \"espresso\"],\n  \"sortBy\": \"recent\",\n  \"dateFilter\": \"past-month\",\n  \"minViews\": 1000,\n  \"maxItems\": 25\n}\n```\n\n### Example: collect public hashtag posts\n\n```json\n{\n  \"mode\": \"posts\",\n  \"searchTerms\": [\"coffee\", \"specialtycoffee\"],\n  \"expandHashtags\": true,\n  \"maxItems\": 20\n}\n```\n\n### Example: discover coffee places in a city\n\n```json\n{\n  \"mode\": \"places\",\n  \"searchTerms\": [\"coffee\"],\n  \"location\": \"London\",\n  \"requireLocation\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: read direct Facebook links\n\n```json\n{\n  \"mode\": \"urls\",\n  \"startUrls\": [\n    { \"url\": \"https://www.facebook.com/reel/5046057592281891/\" },\n    { \"url\": \"https://www.facebook.com/ozonecoffeeuk/\" }\n  ],\n  \"maxItems\": 10\n}\n```\n\n## Use cases\n\n- **Social listening** — track public video conversations around a product, city or event.\n- **Local lead research** — collect public business Pages with phone, address, website and rating.\n- **Content research** — find public videos and hashtag posts in a niche before planning a campaign.\n- **Brand monitoring** — pull public engagement counts for a keyword without touching an account.\n- **Data enrichment** — paste known Facebook Page or post URLs and get normalized records.\n\n## Limits and Facebook behaviour\n\nFacebook does not publish a complete logged-out keyword index. This actor returns what the public surfaces expose:\n\n- **Videos:** Facebook's Watch search serves a small first page (typically 5–7 videos per request). The actor asks several public variants of the same search and de-duplicates, which usually yields about 7–14 unique videos per term. Deep cursor pagination is not available without login, so use more terms for more rows.\n- **Posts:** Facebook's generic `/search/posts` route returns 404 to logged-out visitors, and its search GraphQL rate-limits anonymous clients. Post discovery therefore uses public hashtag Explore pages (one featured post per hashtag request, plus related hashtags when enabled) and any direct post URLs you supply. This is not the full public post index.\n- **Places:** Facebook's Places tab is likewise closed to logged-out visitors. Place discovery uses the public Ad Library Page suggestions and then reads each Page's public root. A suggestion can be a brand, artist or online business with no street address; turn on `requireLocation` to keep only Pages that publish a location.\n- **Engagement counts** are only those Facebook displays to logged-out visitors. Hidden counts are omitted.\n- **Media URLs** from Facebook's CDN are signed and expire. The actor copies images and thumbnails into Apify storage by default and keeps the original URL in `<field>Original`.\n- **Location** is a query hint, not a strict geographic boundary. Use the returned address to verify.\n\n### Do I need a Facebook account or cookies?\n\nNo. The actor never asks for a login, cookie or Facebook API key. It reads only public pages.\n\n### Do I need to set up a proxy?\n\nNo. The actor chooses a working public connection automatically. You do not configure a proxy.\n\n### Why are there fewer posts than a logged-in search would show?\n\nBecause Facebook requires a session for its full search index. The actor stays cookie-free, so it uses the hashtag Explore surface instead and says so here rather than pretending to have the full index.\n\n### Are the image URLs permanent?\n\nThe default `rehostMedia: true` copies them into Apify storage, so the `thumbnailUrl` and `imageUrls` fields keep working after Facebook's signed links expire. Set it to `false` if you prefer the original Facebook URLs.\n\n### Is this affiliated with Facebook or Meta?\n\nNo. This is an independent third-party actor that reads public Facebook pages.\n",
      "input": {
        "title": "Facebook Keyword Search Input",
        "description": "Search public Facebook videos, hashtag posts and Pages/places by keyword without login.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Search type",
            "type": "string",
            "description": "Which public Facebook surface to search.",
            "editor": "select",
            "enum": [
              "videos",
              "posts",
              "places",
              "urls"
            ],
            "enumTitles": [
              "Videos",
              "Posts",
              "Places",
              "Direct URLs"
            ],
            "default": "videos",
            "prefill": "videos"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords or hashtags to search. One search per term. (mode=videos, posts, places)",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "prefill": [
              "coffee"
            ]
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Facebook search, post, video or place URLs to read directly. (mode=urls)",
            "editor": "requestListSources",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "Facebook URL",
                  "description": "A Facebook search, post, video or place URL."
                }
              }
            }
          },
          "maxItems": {
            "title": "Maximum results",
            "type": "integer",
            "description": "Total result cap across all search terms and URLs.",
            "minimum": 1,
            "maximum": 5000,
            "default": 50,
            "prefill": 3
          },
          "maxItemsPerTerm": {
            "title": "Maximum results per term",
            "type": "integer",
            "description": "Per-term result cap across all variants of one search term.",
            "minimum": 1,
            "maximum": 500,
            "default": 30,
            "prefill": 3
          },
          "requireSearchTerm": {
            "title": "Require the search term in the result",
            "type": "boolean",
            "description": "Keep only rows whose text, name, category or hashtag contains every word of the search term.",
            "default": false,
            "prefill": false
          },
          "minViews": {
            "title": "Minimum video views",
            "type": "integer",
            "description": "Drop videos below this view count. (mode=videos)",
            "minimum": 0,
            "maximum": 1000000000,
            "default": 0,
            "prefill": 0
          },
          "postSourceType": {
            "title": "Author type",
            "type": "string",
            "description": "Keep posts/videos from Pages, profiles or groups when Facebook exposes the author type. (mode=posts, videos)",
            "editor": "select",
            "enum": [
              "any",
              "page",
              "profile",
              "group"
            ],
            "enumTitles": [
              "Any author",
              "Pages only",
              "Profiles only",
              "Groups only"
            ],
            "default": "any",
            "prefill": "any"
          },
          "sortBy": {
            "title": "Sort videos by",
            "type": "string",
            "description": "Relevance uses Facebook search order; recent asks Facebook for the newest videos and sorts results by publish date. (mode=videos)",
            "editor": "select",
            "enum": [
              "relevance",
              "recent"
            ],
            "enumTitles": [
              "Relevance",
              "Most recent"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "dateFilter": {
            "title": "Publish date",
            "type": "string",
            "description": "Keep only videos/posts published within this window when a publish date is exposed. (mode=posts, videos)",
            "editor": "select",
            "enum": [
              "any",
              "past-24h",
              "past-week",
              "past-month",
              "past-year"
            ],
            "enumTitles": [
              "Any time",
              "Past 24 hours",
              "Past week",
              "Past month",
              "Past year"
            ],
            "default": "any",
            "prefill": "any"
          },
          "location": {
            "title": "Location hint",
            "type": "string",
            "description": "City or country added to the search phrase for Places and Videos, e.g. London.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "expandHashtags": {
            "title": "Expand related hashtags",
            "type": "boolean",
            "description": "For posts, also read up to three hashtags found in the first matching post to find more public posts. Adds requests. (mode=posts)",
            "default": false,
            "prefill": false
          },
          "requireLocation": {
            "title": "Only places with a location",
            "type": "boolean",
            "description": "Keep only Pages that publish an address or map coordinates. (mode=places)",
            "default": false,
            "prefill": false
          },
          "rehostMedia": {
            "title": "Store media in Apify storage",
            "type": "boolean",
            "description": "Copy post images and video thumbnails to the run key-value store so the URLs do not expire. Turn off to keep the original Facebook CDN URLs.",
            "default": true,
            "prefill": true
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Facebook Keyword Search Output",
        "description": "Public Facebook videos, posts and places found for the keyword queries.",
        "properties": {
          "results": {
            "type": "string",
            "title": "Facebook search results",
            "description": "Dataset containing public Facebook videos, posts and places.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultMemoryMbytes": 1024,
      "categories": [
        "SOCIAL_MEDIA"
      ],
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Search Results",
              "transformation": {
                "fields": [
                  "recordType",
                  "name",
                  "caption",
                  "text",
                  "publishDate",
                  "viewCount",
                  "url"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "recordType": {
                    "label": "Type",
                    "format": "text"
                  },
                  "name": {
                    "label": "Place",
                    "format": "text"
                  },
                  "caption": {
                    "label": "Video caption",
                    "format": "text"
                  },
                  "text": {
                    "label": "Post text",
                    "format": "text"
                  },
                  "publishDate": {
                    "label": "Published",
                    "format": "text"
                  },
                  "viewCount": {
                    "label": "Views",
                    "format": "number"
                  },
                  "url": {
                    "label": "URL",
                    "format": "link"
                  }
                }
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.6",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}