Facebook Reels Scraper Advanced
Pricing
$6.25/month + usage
Facebook Reels Scraper Advanced
๐ฅ **Unlock hidden data from Facebook Reels!** This smart actor ๐ง digs deep into Facebook to extract every reelโs insights โ from views, likes, and comments to full-duration analytics โฑ๏ธ. Perfect for creators, analysts, or marketers who crave precision ๐ฏ. Try it once โ youโll get addicted โก
0.0 (0)
Pricing
$6.25/month + usage
0
2
1
Last modified
3 days ago
๐ Facebook Reels Scraper and Advanced Metadata Extractor
Quickly extract Facebook Reels metadata (upload, views, duration, uploader, thumbnails) from one or many URLs โ privacy-safe, production-ready, runs in seconds.
๐ One-line summary
Extracts reels-only metadata from provided Facebook URLs and stores results in Dataset + key-value store (ALL_RESULTS). Plugโandโplay for Console, CLI, or API runs.
๐ก Use cases / When to use
- Discover trending Facebook Reels metadata for analytics or reporting.
- Bulk-enrich content catalogs with duration, view counts, uploader info, and thumbnails.
- Monitor a list of Facebook URLs and collect standardized reel records for downstream processing.
- Quick investigations where you need reel items only (skips non-reel videos).
โก Quick Start โ Apify Console (one-click)
- Open this Actor in Apify Console.
- Paste JSON input (see Inputs or
input.example.json) into the Input tab. - Click Run Actor.
Runs in seconds for single URLs; built for safe, repeatable runs at scale.
โ๏ธ Quick Start โ CLI & API
Run via HTTP (curl)
curl -X POST "https://api.apify.com/v2/acts/<USERNAME~ACTOR-NAME>/runs" \-H "Authorization: Bearer <APIFY_TOKEN>" \-H "Content-Type: application/json" \--data '{"startUrls":[{"url":"https://www.facebook.com/reel/EXAMPLE"}], "maxItems": 10}'
Python (apify-client) example
from apify_client import ApifyClientclient = ApifyClient('<APIFY_TOKEN>')run = client.actor('your_username/facebook-reels-extractor').call(run_input={'startUrls': [{'url': 'https://www.facebook.com/reel/EXAMPLE'}],'maxItems': 10})print('Started run:', run)
Note: Replace <APIFY_TOKEN> and your_username/facebook-reels-extractor with your account/actor id.
๐ Inputs (fields & schema)
Below are the primary input fields this Actor accepts. Provide them as JSON in the Console Input tab or as the POST body to the Runs API.
Console JSON example (also in input.example.json):
{"startUrls": [{ "url": "https://www.facebook.com/reel/EXAMPLE" }],"cookiesFile": null,"maxItems": 10}
Fields
startUrlsโ array (required): list of URLs or objects{ "url": "..." }to process. The Actor runs reels-only heuristics and will skip non-reel video entries.cookiesFileโ string (optional): path or name of a cookies file previously uploaded to the Console (useful for private or geo-restricted content).maxItemsโ integer (optional): limit total number of extracted items.0or omitted = no limit.
โ๏ธ Configuration
| ๐ Name | ๐ Type | โ Required | โ๏ธ Default | ๐ Example | ๐ง Notes |
|---|---|---|---|---|---|
| startUrls | array | โ Yes | None | [{"url":"https://..."}] | List of Facebook URLs to scan |
| cookiesFile | string | โ๏ธ Optional | null | "fb_cookies.txt" | Upload cookies in Console if needed |
| maxItems | integer | โ๏ธ Optional | 0 | 10 | 0 = unlimited; use to limit output |
| useApifyProxy | boolean | โ๏ธ Optional | false | true | Enable built-in Apify Proxy (recommended for scraping) |
| httpProxy | string | โ๏ธ Optional | None | "<PROXY_USER:PASS@HOST:PORT>" | Custom proxy; store credentials as secrets |
Example Console setup: Paste the startUrls value into the Input field, set maxItems if you want to limit output, then click Run Actor.
๐ Outputs (Dataset / KV examples)
This Actor pushes each normalized reel record to the Dataset (push_data) and stores an aggregated JSON under the key-value store key ALL_RESULTS.
Example single-item output (dataset entry)
{"platform": "facebook","content_type": "reel","is_reel": true,"webpage_url": "https://www.facebook.com/reel/EXAMPLE","id": "12345","title": "Short sample reel","description": "Short description","duration_seconds": 33,"duration": "33 Sec","duration_summary": "โฑ 33s | 0m 33s | 0.009h","upload_date": "5th August 2025","timestamp": 1628150400,"timestamp_iso": "2021-08-05T00:00:00Z","view_count_raw": 12345,"view_count": "12.3K","uploader": "example_uploader","thumbnail": "https://.../thumb.jpg","tags": ["tag1","tag2"],"raw_json": { /* original extracted record (trimmed) */ }}
Key-value store โ ALL_RESULTS contains an array of the full normalized records in application/json format.
๐ Environment Variables
APIFY_TOKENโ required for API/CLI runs outside Console. Use Console secrets to avoid plaintext tokens.HTTP_PROXY/HTTPS_PROXYโ optional when using custom proxies (see Proxy Configuration).
โถ๏ธ How to Run (Console, CLI, API)
- Console: Paste input โ Run Actor (one-click). Results appear in Output (Dataset) and Key-value store (ALL_RESULTS).
- API:
POST /v2/acts/<ACTOR_ID>/runswith JSON body equal to Console input. UseAuthorization: Bearer <APIFY_TOKEN>. - CLI: Use Apify CLI to trigger runs or view logs. Example:
apify run --actor <USERNAME/ACTOR_NAME> --input input.example.json(replace placeholders).
โฐ Scheduling & Webhooks
- Use the Apify Console Scheduler to run this Actor periodically (e.g., hourly/daily) for continuous monitoring.
- Configure a webhook in Console to receive run finished events and download
ALL_RESULTSor Dataset records automatically.
๐พ๏ธ Logs & Troubleshooting
- Check Run logs in Console for per-URL info (processing, skipped, or error messages).
- If a URL is skipped: verify it points to a reel URL (the Actor applies reels-only heuristics).
- If content requires a login or region restrictions, provide a
cookiesFilein the Input and enable Proxy if needed.
๐ Permissions & Storage Notes
- This Actor stores results in Dataset and Key-value store. Use Console roles and dataset permissions to control access.
- Never put secrets (tokens/passwords) directly in Input JSON โ use Console secrets or environment variables.
- The Actor performs read-only metadata extraction (no content downloads by default).
๐ Changelog / Versioning
- v1.0.0 โ Initial release: reels-only metadata extraction, Dataset +
ALL_RESULTSKV export. - TODO: Add changelog entries for future releases as features or bug fixes are released.
๐ Notes / TODOs
- TODO: Consider adding an option to return full media download links (opt-in) โ reason: media downloads change privacy/usage requirements.
- TODO: Add richer retry/backoff configuration as a run-time input (useful for unstable networks).
๐ Proxy Configuration
Enable Apify Proxy (Console): Open the Actor's Build & Storage or Proxy settings and toggle Use Apify Proxy. (One-click in Console.)
Custom proxies: Set a proxy string in the Input or environment, e.g. in Input JSON set httpProxy: "<PROXY_USER:PASS@HOST:PORT>" or set the environment variables:
export HTTP_PROXY="http://<PROXY_USER:PASS@HOST:PORT>"export HTTPS_PROXY="http://<PROXY_USER:PASS@HOST:PORT>"
Security: Store <PROXY_USER:PASS@HOST:PORT> in Console Secrets โ do not place credentials in plain Input JSON.
Advanced: TODO: Consider proxy rotation for large-scale scraping jobs to avoid rate limits and IP bans.
๐ References
-
How to create an Actor README โ Apify Docs https://docs.apify.com/academy/actor-marketing-playbook/actor-basics/how-to-create-an-actor-readme
-
Apify API Client for Python โ Apify Docs https://docs.apify.com/api/client/python/
-
Apify CLI โ Apify Docs https://docs.apify.com/cli/
๐ค What I inferred from main.py
- This Actor accepts
startUrls,cookiesFile, andmaxItemsas the primary inputs. - It applies "reels-only" heuristics per URL and normalizes extracted metadata into a consistent record shape.
- Outputs: pushes individual records to the Dataset and writes the aggregated array to the key-value store under
ALL_RESULTS. - Network activity is present (external webpage extraction), therefore Proxy configuration is exposed in this README.
- Supports cookies for access to restricted content and a
maxItemslimiter to control run size.
End of README.md
--- input.example.json --- { "startUrls": [ { "url": "https://www.facebook.com/reel/EXAMPLE" } ], "cookiesFile": null, "maxItems": 10, "useApifyProxy": true }
--- CONFIG.md ---
CONFIG.md โ quick notes for Console maintainers
- Default run behavior: runs in "reels-only" mode. Non-reel content is skipped and logged.
- Secrets: Add
APIFY_TOKENand any proxy credentials to Console Secrets under Project settings. - Artifacts: Dataset contains item-level records.
ALL_RESULTSkey in Key-value store contains the full aggregated JSON array. - Monitoring: Use Scheduler + Webhook to automate downstream processing.
Enjoy the actor dear โค๏ธ
On this page
-
๐ Facebook Reels Scraper and Advanced Metadata Extractor
-
- ๐ One-line summary
- ๐ก Use cases / When to use
- โก Quick Start โ Apify Console (one-click)
- โ๏ธ Quick Start โ CLI & API
- ๐ Inputs (fields & schema)
- โ๏ธ Configuration
- ๐ Outputs (Dataset / KV examples)
- ๐ Environment Variables
- โถ๏ธ How to Run (Console, CLI, API)
- โฐ Scheduling & Webhooks
- ๐พ๏ธ Logs & Troubleshooting
- ๐ Permissions & Storage Notes
- ๐ Changelog / Versioning
- ๐ Notes / TODOs
- ๐ Proxy Configuration
- ๐ References
- ๐ค What I inferred from main.py
-
Share Actor:
