Facebook Url To Id Scraper
Pricing
$19.99/month + usage
Facebook Url To Id Scraper
🔎 Facebook URL to ID Scraper converts Facebook profile, page & group URLs into numeric IDs fast and accurately. ⚙️ Perfect for data enrichment, marketing analytics, CRM syncing & OSINT. 🧩 Supports vanity URLs, batch processing & API workflows. 🚀 Save time and boost targeting.
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer
ScrapeBase
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
Facebook Url To Id Scraper
Facebook Url To Id Scraper is a fast, accurate facebook url to id converter that turns public Facebook links into canonical numeric IDs and structured metadata. It solves the tedious “facebook profile url to user id” and “facebook page url to page id” problem by auto-detecting whether a link is a page, post, or group and extracting the corresponding identifiers at scale. Built for marketers, developers, data analysts, and researchers, this bulk facebook url to id scraper normalizes usernames/keywords to full URLs, handles public pages without login, and outputs clean JSON ready for analytics and automation.
What data / output can you get?
This actor stores results as structured items in the Apify dataset with canonical IDs and rich metadata for each processed URL.
| Data field | Description | Example value |
|---|---|---|
| facebookUrl | Canonical Facebook link detected for the object | https://www.facebook.com/NintendoAmerica |
| url | Final URL for the object (permalink-normalized when applicable) | https://www.facebook.com/NintendoAmerica |
| facebookId | Numeric ID or canonical ID for the object | 100064368354094 |
| type | Detected object type: page, group, or post | page |
| user.id | Page/profile user ID when available | 100064368354094 |
| user.name | Page/profile display name when available | Nintendo of America |
| pageAdLibrary.id | Page Ad Library/delegate_page ID when available | 119240841493711 |
| openGraph.title | Title from Open Graph metadata | Nintendo of America |
| openGraph.description | Description from Open Graph metadata | Nintendo of America. 5,000,000+ likes… |
| group.id | Group numeric ID when a group URL is processed | 123456789012345 |
| group.group_member_profiles.formatted_count_text | Public member count text | 1.2K members |
| node.__typename | Post/story typename when present | Story |
| node.id | Post/story ID when present | 987654321098765 |
| postId | Post ID when explicitly available in JSON | pfbid02JESEPSvyiLGj... |
| pageId | Page/profile ID that owns a post (from feedback.owning_profile) | 100064368354094 |
| source_url | Original input URL (normalized) for traceability | https://www.facebook.com/.../posts/... |
| openGraph.image | Image URL from Open Graph (when available) | https://scontent.xx.fbcdn.net/... |
Note: Each dataset item also includes stringified helper fields for quick table views and exports: openGraphText, groupText, nodeText, pageAdLibraryText, userText, and rawText.
Key features
-
🧠 Automatic type detection (page, post, group)
Detects object type from each input and routes to the right extractor, ensuring precise “facebook page url to page id”, “facebook group url to group id”, and “facebook post url to post id” results. -
✨ Username & keyword normalization
Accepts usernames or keywords and normalizes them to https://www.facebook.com/... URLs automatically for streamlined, online facebook url to id lookup workflows. -
🔐 Smart, sticky proxy fallback
Starts with no proxy, falls back to datacenter, then to sticky RESIDENTIAL with up to 3 retries — boosting reliability on public endpoints without requiring login. -
🚫 Login/checkpoint detection & skip
Proactively detects login/checkpoint pages and treats them as blocked, keeping your dataset clean and focused on public data only. -
📦 Clean, structured dataset items
Outputs canonical fields (facebookUrl, url, facebookId, type) plus rich nested objects (user, openGraph, group, node, pageAdLibrary) and table-friendly stringified fields. -
🚀 Built for batch processing
Feed a list of links to run a bulk facebook url to id scraper job — ideal for enrichment, analytics, or CRM syncing. -
🧩 Developer-friendly JSON & APIs
Consume results via the Apify Dataset API, and integrate into your pipelines as a facebook url to id api or with a facebook url to id python script. -
🔎 Open Graph & page signals capture
Extracts Open Graph metadata and page signals to enrich IDs with titles, descriptions, and images for better downstream analysis. -
🔁 Permalink normalization for posts
Harmonizes post URLs by converting /posts/ to /permalink/ where relevant, improving consistency across runs. -
🛡️ Production-ready reliability
Asynchronous fetching, robust error handling, and adaptive proxy logic deliver dependable, large-scale ID resolution.
How to use Facebook Url To Id Scraper - step by step
-
Create or log in to your Apify account
Access the actor from your Apify dashboard. -
Open the Facebook Url To Id Scraper actor
Search for “Facebook Url To Id Scraper” in the Apify Store and open it. -
Add input data
In startUrls, paste one or more items: full Facebook URLs, usernames, or keywords. The actor will normalize them to proper URLs. -
Configure proxy settings (optional)
In proxyConfiguration, you can leave the default prefill (useApifyProxy: false). If a request is rejected, the actor falls back to datacenter and then to sticky RESIDENTIAL proxies with retries. -
Start the run
Click Start. The actor detects whether each item is a page, post, or group and extracts IDs and metadata automatically. -
Monitor progress
Watch the logs for proxy mode changes, URL normalization, and extraction summaries. -
Download results
Open the run’s Dataset to view items. Export or connect via API to feed your analytics, enrichment, or automation workflows.
Pro tip: Chain this with your CRM or data warehouse using the Apify Dataset API to build an end-to-end facebook url id extractor pipeline.
Use cases
| Use case | Description |
|---|---|
| Marketing analytics + CRM enrichment | Map the facebook page url to page id for accounts and sync stable IDs into your CRM for attribution and reporting. |
| Social content tracking | Capture the facebook post url to post id and pageId for engagement analytics and content performance dashboards. |
| Community research | Convert the facebook group url to group id and member count text for public community monitoring. |
| OSINT & research pipelines | Resolve the facebook profile url to user id for public profiles and enrich datasets for investigative workflows. |
| Automation & apps | Power chatbots or internal tools with stable IDs from a facebook url id extractor for robust referencing. |
| Data engineering | Run a bulk facebook url to id scraper job and push results downstream via the Apify Dataset API for ETL. |
| QA & data validation | Normalize vanity URLs and ensure canonical facebook url to numeric id mapping across large link inventories. |
Why choose Facebook Url To Id Scraper?
Delivering precision at scale, this facebook id finder tool focuses on canonical IDs and clean metadata with adaptive proxying and robust parsing.
- ✅ Accurate ID resolution with object-type detection (page, post, group)
- 🌐 Works on public content without login; treats login/checkpoint pages as blocked
- 📈 Scales from a few URLs to large lists with stable, sticky residential fallback
- 🧰 Developer-friendly: structured JSON output and easy API consumption
- 🔄 Resilient against blocks with automatic proxy fallback and retries
- 🧱 More reliable than browser extensions or ad‑hoc scripts; built for production
- 🧾 Rich metadata (Open Graph, page signals) to enrich your downstream workflows
In short, it’s a purpose-built facebook url to id converter that prioritizes reliability, clean output, and integration-readiness.
Is it legal / ethical to use Facebook Url To Id Scraper?
Yes — when used responsibly. The actor targets publicly available Facebook pages and is designed to avoid login/checkpoint flows. It does not bypass authentication or access private content.
Guidelines for responsible use:
- Only process publicly accessible URLs and information
- Respect Facebook policies and applicable laws (e.g., GDPR/CCPA where relevant)
- Avoid scraping private profiles or gated content
- Consult your legal team for edge cases or compliance questions
Input parameters & output format
Example JSON input
{"startUrls": ["https://www.facebook.com/NintendoAmerica","https://www.facebook.com/groups/germtheory.vs.terraintheory","NintendoAmerica/posts/pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl"],"proxyConfiguration": {"useApifyProxy": false}}
| Parameter | Type | Required | Default (prefill) | Description |
|---|---|---|---|---|
| startUrls | array | Yes | ["https://www.facebook.com/NintendoAmerica"] | List one or more Facebook URLs (e.g., https://www.facebook.com/username), usernames, or keywords. Supports bulk input. |
| proxyConfiguration | object | No | {"useApifyProxy": false} | Choose which proxies to use. By default, no proxy is used. If Facebook rejects the request, it will automatically fallback to datacenter proxy, then residential proxy with 3 retries. |
Example JSON output
Each dataset item represents one resolved object with canonical identifiers and rich metadata. Below are three sample items (page, group, post) as they appear in the Apify dataset.
[{"facebookUrl": "https://www.facebook.com/NintendoAmerica","url": "https://www.facebook.com/NintendoAmerica","facebookId": "100064368354094","type": "page","user": {"id": "100064368354094","name": "Nintendo of America"},"openGraph": {"app_name": "Facebook","package": "com.facebook.katana","url": "https://www.facebook.com/NintendoAmerica","app_store_id": "284882215","type": "website","title": "Nintendo of America","description": "Nintendo of America. 5,338,483 likes · 43,168 talking about this.","alt": "Nintendo of America","image": "https://scontent.xx.fbcdn.net/v/t1.6435-9/...","locale": "en_US"},"pageAdLibrary": {"id": "119240841493711"},"openGraphText": "{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/NintendoAmerica\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Nintendo of America\",\"description\":\"Nintendo of America. 5,338,483 likes · 43,168 talking about this.\",\"alt\":\"Nintendo of America\",\"image\":\"https://scontent.xx.fbcdn.net/v/t1.6435-9/...\",\"locale\":\"en_US\"}","groupText": "null","nodeText": "null","pageAdLibraryText": "{\"id\":\"119240841493711\"}","userText": "{\"id\":\"100064368354094\",\"name\":\"Nintendo of America\"}","rawText": "{\"facebookUrl\":\"https://www.facebook.com/NintendoAmerica\",\"url\":\"https://www.facebook.com/NintendoAmerica\",\"facebookId\":\"100064368354094\",\"type\":\"page\",\"user\":{\"id\":\"100064368354094\",\"name\":\"Nintendo of America\"},\"openGraph\":{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/NintendoAmerica\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Nintendo of America\",\"description\":\"Nintendo of America. 5,338,483 likes · 43,168 talking about this.\",\"alt\":\"Nintendo of America\",\"image\":\"https://scontent.xx.fbcdn.net/v/t1.6435-9/...\",\"locale\":\"en_US\"},\"pageAdLibrary\":{\"id\":\"119240841493711\"}}"},{"source_url": "https://www.facebook.com/groups/germtheory.vs.terraintheory","facebookUrl": "https://www.facebook.com/groups/germtheory.vs.terraintheory","url": "https://www.facebook.com/groups/germtheory.vs.terraintheory","facebookId": "123456789012345","type": "group","group": {"name": "Germ Theory vs Terrain Theory","url": "https://www.facebook.com/groups/germtheory.vs.terraintheory","profile_picture": {"uri": "https://scontent.xx.fbcdn.net/v/t39.30808-6/..."},"id": "123456789012345","viewer_join_state": "CAN_JOIN","viewer_forum_join_state": null,"group_member_profiles": {"formatted_count_text": "1.2K members"}},"node": {"__typename": "Story","actors": [{"__typename": "User","name": "Group Admin","id": "999999999999999"}],"creation_time": 1710000000,"seo_title": "Group Story # IMPORTANT","id": "987654321098765","__isFeedUnit": "Story"},"openGraph": {"app_name": "Facebook","package": "com.facebook.katana","url": "https://www.facebook.com/groups/germtheory.vs.terraintheory","app_store_id": "284882215","type": "website","title": "Germ Theory vs Terrain Theory","description": "Public Group","alt": "Germ Theory vs Terrain Theory","image": "https://scontent.xx.fbcdn.net/v/t1.6435-9/...","locale": "en_US"},"groupTitle": "Germ Theory vs Terrain Theory","openGraphText": "{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Germ Theory vs Terrain Theory\",\"description\":\"Public Group\",\"alt\":\"Germ Theory vs Terrain Theory\",\"image\":\"https://scontent.xx.fbcdn.net/v/t1.6435-9/...\",\"locale\":\"en_US\"}","groupText": "{\"name\":\"Germ Theory vs Terrain Theory\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"profile_picture\":{\"uri\":\"https://scontent.xx.fbcdn.net/v/t39.30808-6/...\"},\"id\":\"123456789012345\",\"viewer_join_state\":\"CAN_JOIN\",\"viewer_forum_join_state\":null,\"group_member_profiles\":{\"formatted_count_text\":\"1.2K members\"}}","nodeText": "{\"__typename\":\"Story\",\"actors\":[{\"__typename\":\"User\",\"name\":\"Group Admin\",\"id\":\"999999999999999\"}],\"creation_time\":1710000000,\"seo_title\":\"Group Story # IMPORTANT\",\"id\":\"987654321098765\",\"__isFeedUnit\":\"Story\"}","pageAdLibraryText": "null","userText": "null","rawText": "{\"source_url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"facebookUrl\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"facebookId\":\"123456789012345\",\"type\":\"group\",\"group\":{\"name\":\"Germ Theory vs Terrain Theory\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"profile_picture\":{\"uri\":\"https://scontent.xx.fbcdn.net/v/t39.30808-6/...\"},\"id\":\"123456789012345\",\"viewer_join_state\":\"CAN_JOIN\",\"viewer_forum_join_state\":null,\"group_member_profiles\":{\"formatted_count_text\":\"1.2K members\"}},\"node\":{\"__typename\":\"Story\",\"actors\":[{\"__typename\":\"User\",\"name\":\"Group Admin\",\"id\":\"999999999999999\"}],\"creation_time\":1710000000,\"seo_title\":\"Group Story # IMPORTANT\",\"id\":\"987654321098765\",\"__isFeedUnit\":\"Story\"},\"openGraph\":{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Germ Theory vs Terrain Theory\",\"description\":\"Public Group\",\"alt\":\"Germ Theory vs Terrain Theory\",\"image\":\"https://scontent.xx.fbcdn.net/v/t1.6435-9/...\",\"locale\":\"en_US\"},\"groupTitle\":\"Germ Theory vs Terrain Theory\"}"},{"facebookUrl": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...","url": "https://www.facebook.com/NintendoAmerica/permalink/pfbid02JESEPSvyiLGj...","facebookId": "444444444444444","postId": "pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl","type": "post","pageId": "100064368354094","node": {"__typename": "Story","id": "444444444444444"},"openGraph": {"type": "video.other","title": "Post Title","description": "Post description...","url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...","alt": "Nintendo Post","image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/...","locale": "en_US"},"source_url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...","openGraphText": "{\"type\":\"video.other\",\"title\":\"Post Title\",\"description\":\"Post description...\",\"url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...\",\"alt\":\"Nintendo Post\",\"image\":\"https://scontent.xx.fbcdn.net/v/t39.30808-6/...\",\"locale\":\"en_US\"}","groupText": "null","nodeText": "{\"__typename\":\"Story\",\"id\":\"444444444444444\"}","pageAdLibraryText": "null","userText": "null","rawText": "{\"facebookUrl\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...\",\"url\":\"https://www.facebook.com/NintendoAmerica/permalink/pfbid02JESEPSvyiLGj...\",\"facebookId\":\"444444444444444\",\"postId\":\"pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl\",\"type\":\"post\",\"pageId\":\"100064368354094\",\"node\":{\"__typename\":\"Story\",\"id\":\"444444444444444\"},\"openGraph\":{\"type\":\"video.other\",\"title\":\"Post Title\",\"description\":\"Post description...\",\"url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...\",\"alt\":\"Nintendo Post\",\"image\":\"https://scontent.xx.fbcdn.net/v/t39.30808-6/...\",\"locale\":\"en_US\"},\"source_url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGj...\"}"}]
FAQ
Is there a trial to test this facebook url to id converter?
Yes. The actor can be run on Apify with trial minutes so you can test it before scaling. Check your Apify account for current plan limits.
Does it require Facebook login or cookies?
No. It targets publicly available pages and actively detects login/checkpoint pages, treating those responses as blocked to keep your dataset clean.
Can it resolve a facebook profile url to user id, page URL to page ID, and group URL to group ID?
Yes. The actor detects whether the input is a page, post, or group and extracts the corresponding IDs and metadata for those public objects.
How does it handle bulk inputs?
Provide a list in startUrls and the actor processes them sequentially with adaptive proxy fallback. It’s built for batch runs as a bulk facebook url to id scraper.
Can I integrate this as a facebook url to id api or use it from a facebook url to id python script?
Yes. Consume results via the Apify Dataset API in any language, or call the run via API from your Python scripts to embed it in your pipelines.
Does it use the Graph API to get Facebook ID from URL?
No. It parses public HTML and embedded JSON/Open Graph metadata to extract IDs and related fields; no Graph API or login is required.
What happens if a URL is blocked or redirected to login?
The actor uses a multi-step proxy strategy (none → datacenter → residential with retries). If it still encounters a login/checkpoint page, it flags it as blocked and skips storing junk data.
What data might be missing for private or limited-visibility content?
Only public information is returned. For restricted or private profiles/groups/posts, some fields (e.g., user, group details, openGraph) may be null or absent.
Final thoughts
Facebook Url To Id Scraper is built to turn Facebook links into stable IDs and structured metadata for analytics, enrichment, and automation. With automatic type detection, adaptive proxy fallback, and clean JSON outputs, it’s ideal for marketers, developers, analysts, and researchers. Run it in batches, connect via the Apify API for programmatic access, and start building a reliable facebook url to numeric id pipeline for your workflows today.


