
Facebook Video Details Scraper
Pricing
$9.00/month + usage

Facebook Video Details Scraper
Extract public Facebook video details in seconds! Get title, description ๐, upload date ๐ , reactions ๐โค๏ธ๐ฎ, shares ๐, creator info ๐ค, and video URL ๐. Perfect for research, analytics, and trend tracking. โ
0.0 (0)
Pricing
$9.00/month + usage
0
6
6
Last modified
a day ago
๐ฏ Facebook Video Metadata Scraper
Extract structured metadata from Facebook videos and Reels directly on the Apify platform.
๐ Summary
This Actor takes one or more Facebook video or Reel URLs and produces structured JSON metadata (title, uploader, view counts, upload dates, thumbnails, tags, etc.). Results are pushed to the default Dataset and also consolidated under the ALL_RESULTS
key in the Key-Value Store.
๐ก Use cases / When to use
- Market research and trend analysis on Facebook video performance.
- Monitoring competitor video engagement (views, likes, comments).
- Collecting structured data for analytics dashboards.
- Archiving Facebook video metadata without downloading full media.
โก Quick Start (Console)
-
Go to your Actor in Apify Console.
-
Click Run.
-
In the Input tab, paste JSON like:
{"startUrls": [{"url": "https://www.facebook.com/reel/1234567890123456"}],"maxItems": 5} -
Click Run.
-
Check the Dataset tab for extracted items, or Key-Value Store for the consolidated
ALL_RESULTS
file.
โก Quick Start (CLI + API)
CLI (apify-cli
)
$apify run -p input.json
Where input.json
contains:
{"startUrls": [{"url": "https://www.facebook.com/reel/1234567890123456"}]}
API (apify-client
in Python)
from apify_client import ApifyClientclient = ApifyClient('<APIFY_TOKEN>')run = client.actor('<ACTOR_ID>').call(run_input={"startUrls": [{"url": "https://www.facebook.com/reel/1234567890123456"}],"maxItems": 5})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
๐ Inputs
startUrls
(array of objects or strings, required) โ Facebook video or Reel URLs to process.cookiesFile
(string, optional) โ Path to uploaded cookies file. Useful for login-required videos.proxyConfiguration
(object, optional) โ Proxy settings configured in Apify Console.maxItems
(integer, optional) โ Maximum number of items to scrape.
โ๏ธ Configuration
๐ Name | ๐ Type | โ Required | โ๏ธ Default | ๐ Example | ๐ Notes |
---|---|---|---|---|---|
startUrls | array | โ Yes | null | [ {"url": "https://facebook.com/reel/..."} ] | List of URLs to scrape |
cookiesFile | string | โ No | null | cookies.txt | Upload via Apify key-value store |
proxyConfiguration | object | โ No | {} | { "useApifyProxy": true } | Configure in Console โ Proxy |
maxItems | integer | โ No | 0 (no limit) | 50 | Limit number of items processed |
ALL_RESULTS | dataset | Auto | n/a | Key-Value Store entry | Consolidated JSON array of all results |
โก๏ธ Example: In Console โ Run โ Input, paste:
{"startUrls": [ {"url": "https://www.facebook.com/reel/1234567890123456"} ]}
๐ค Outputs
Each processed video produces a JSON object like:
{"platform": "facebook","webpage_url": "https://www.facebook.com/reel/1234567890123456","id": "1234567890123456","title": "Sample video","duration": "25s","upload_date": "16th September 2025","timestamp_iso": "2025-09-16T10:30:00Z","view_count": "2.3K","like_count": 150,"comment_count": 20,"uploader": "Page Name","thumbnail": "https://...jpg"}
- All items โ Default Dataset.
- Consolidated array โ Key-Value Store entry
ALL_RESULTS
.
๐ Environment variables
APIFY_TOKEN
โ Required for API or CLI usage.HTTP_PROXY
/HTTPS_PROXY
โ Only if custom external proxies are used.
โถ๏ธ How to Run
In Apify Console
- Open Actor โ Run.
- Paste input JSON into Input.
- Run โ View results in Dataset and Key-Value Store.
CLI
$apify call <ACTOR_ID> -p input.json
API
See the Python snippet above under Quick Start.
โฐ Scheduling & Webhooks
- Configure in Console โ Schedule to run hourly/daily.
- Add webhooks in Console โ Webhooks to trigger on success/failure.
๐ Logs & Troubleshooting
-
View run logs in Console โ Runs โ select a run.
-
Common errors:
No startUrls provided.
โ Ensure you setstartUrls
.- Empty dataset โ The link was invalid or required login without cookies.
๐ Permissions & Storage notes
- Output is saved to the Actorโs default Dataset and Key-Value Store.
- If using cookies, upload them securely in Apify storage.
๐ Changelog / Versioning tip
- Increment Actor version when input schema or output fields change.
๐ Notes / TODOs
- TODO: Confirm how
cookiesFile
should be uploaded (default key-value store vs. dataset file input). - TODO: Document any rate-limits when scraping high volumes of URLs.
๐ Proxy configuration
-
In Console โ Run โ Proxy, enable Apify Proxy with one click.
-
To use your own proxy: In Console โ Actor settings โ Environment variables, set:
HTTP_PROXY = http://<USER>:<PASS>@<HOST>:<PORT>
HTTPS_PROXY = http://<USER>:<PASS>@<HOST>:<PORT>
-
Always store credentials as secrets in Apify.
-
TODO: Advanced proxy rotation and load balancing patterns can be added later.
๐ References
๐ง What I inferred from main.py
- Actor requires
startUrls
as input. - Optional inputs:
cookiesFile
,proxyConfiguration
,maxItems
. - Outputs go to both Dataset and Key-Value Store key
ALL_RESULTS
. - Proxy usage is supported, hence Proxy section included.
- Marked TODOs for cookie upload method and possible rate limits.