Facebook Url To Id Scraper avatar

Facebook Url To Id Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Facebook Url To Id Scraper

Facebook Url To Id Scraper

πŸ”Ž Facebook URL to ID Scraper converts Facebook profile, page, group & post URLs into numeric IDs. ⚑ Perfect for API integrations, tracking & analytics. πŸš€ Fast, accurate, bulk-friendlyβ€”ideal for developers, marketers & data teams.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScraperForge

ScraperForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Facebook Url To Id Scraper

Facebook Url To Id Scraper is a fast, reliable facebook url to id converter that turns any public Facebook link into a clean identifier with structured context. It solves the hassle of manual lookups by automatically detecting whether a link is a page, group, or post and extracting the corresponding ID and metadata β€” ideal for developers, marketers, data analysts, and researchers. Use this facebook id extractor from url at scale for analytics, tracking, integrations, and automation pipelines.

What data / output can you get?

Below are the core fields the actor pushes to the Apify dataset for each resolved object. Field names match the actual output schema produced by the code.

Data typeDescriptionExample value
facebookUrlCanonical Facebook URL detected/resolved for the objecthttps://www.facebook.com/NintendoAmerica
urlFinal URL stored for the object (falls back to source when needed)https://www.facebook.com/NintendoAmerica
facebookIdPrimary identifier for the object. For pages/groups it’s the numeric ID; for posts it can fall back to postId100064368354094
typeResolved object kind: page, group, or postpage
userPage/profile object captured from scripts (when present){"id":"100064368354094","name":"Nintendo of America"}
pageAdLibraryAd library/delegate page object if available in the page/post scripts{"id":"119240841493711"}
groupGroup metadata when the URL is a group or group content{"id":"123456789","name":"Group Name","profile_picture":{"uri":"https://...%22%7D,%22viewer_join_state%22:%22CAN_JOIN"}
nodePost Story object when available (e.g., __typename, id, actors){"__typename":"Story","id":"123456789"}
postIdPost’s permalink ID when present in the source datapfbid02JESEPSvyiLGjvewuFYhviAwQjTdx...
pageIdOwning page/profile ID for a post when available100064368354094
openGraphOpen Graph metadata extracted from the page{"type":"video.other","title":"Nintendo of America","url":"https://www.facebook.com/NintendoAmerica"}
source_urlThe URL that was originally requested (pre-normalization)https://www.facebook.com/NintendoAmerica

Bonus helper fields for filtering and quick inspection (stringified JSON): openGraphText, groupText, nodeText, pageAdLibraryText, userText, rawText.

You can export your dataset in JSON, CSV, or Excel from Apify for easy downstream analysis and reporting.

Key features

  • 🧠 Smart object detection Automatically classifies each input as a page, group, or post using built-in logic, making it a dependable facebook page id finder and facebook group id extractor in one tool.

  • πŸ”€ Username & keyword normalization Paste usernames or keywords β€” the actor normalizes them into full URLs before fetching, perfect to find facebook user id by url or extract facebook id from profile url.

  • 🧰 Robust proxy fallback Built-in proxy strategy escalates from no proxy β†’ datacenter β†’ residential (sticky) with up to 3 retries, maintaining high success rates on public data.

  • πŸ›‘οΈ Block-aware fetching Sophisticated block detection avoids login/checkpoint pages and only returns valid, public content β€” safe for analytics and automation.

  • πŸ“¦ Clean, structured output Returns stable identifiers (facebookId, postId, pageId) with rich context (user, group, openGraph, pageAdLibrary), plus stringified helper fields for quick filtering.

  • 🧩 Bulk-friendly workflow Accepts an array of inputs and processes them sequentially, ideal for fb url to numeric id tool use cases and high-throughput mapping.

  • πŸ’» Developer-ready on Apify Access results via the Apify API, build pipelines in Python/JS, or plug into no-code tools β€” a practical facebook url to id api alternative for integrations.

  • πŸ”’ Public data only No login or cookies required. Designed to resolve facebook profile id from username and get facebook page id from link that are publicly accessible.

  • βš™οΈ Production-minded reliability Structured logs, retry logic, and dataset-safe payloads make it suitable for recurring jobs and pipelines across marketing, data, and research teams.

How to use Facebook Url To Id Scraper - step by step

  1. Create or log in to your Apify account You can run the actor from the Apify Console or via API.

  2. Open the actor Search for β€œFacebook Url To Id Scraper” in the Apify Store and click Try for free.

  3. Add input data Paste one or more items into startUrls β€” each item can be a full Facebook URL, a username, or a keyword.

  4. Configure proxy (optional) In proxyConfiguration, choose whether to use Apify Proxy. By default, it starts without a proxy and falls back automatically when needed.

  5. Start the run Click Start. The actor will normalize inputs, detect object types, and extract IDs and metadata from public pages.

  6. Monitor progress Follow structured logs for URL detection, proxy mode transitions, and extraction summaries.

  7. Download/export results Open the Dataset tab to view items. Export your results to JSON, CSV, or Excel, or fetch them programmatically via the Apify API.

Pro tip: Chain this run in your marketing or analytics pipeline to power a facebook object id lookup service that resolves at scale from usernames and mixed links.

Use cases

Use case nameDescription
Marketing ops + page ID mappingConnect stable page IDs to CRM or analytics tools to improve campaign tracking and attribution.
Social analytics + post lookupResolve post IDs from links for engagement tracking, benchmarking, and BI dashboards.
Group monitoring + researchExtract group IDs and public group metadata for topic tracking and public community analysis.
Developer API pipelinesBuild a facebook url to id api style endpoint on Apify to map links to IDs in your backend.
SEO + content auditingConvert facebook profile url to id at scale for cataloging brand assets and validating entity references.
Data enrichment + UID resolutionUse as a facebook url to uid converter to standardize references across datasets.
Academic studies + public dataCollect public object IDs with minimal friction for reproducible research.

Why choose Facebook Url To Id Scraper?

This actor focuses on precision, automation, and reliability for public Facebook URL-to-ID mapping.

  • βœ… Accurate type detection for pages, groups, and posts
  • 🌐 Works on publicly accessible links without login
  • πŸ“ˆ Built for batch processing and repeatable pipelines
  • πŸ”Œ Developer access via Apify API and JSON datasets
  • 🧱 Resilient networking with automatic proxy fallback
  • πŸ’Έ Cost-effective alternative to fragile browser extensions
  • πŸ›‘οΈ Ethics-first: public data only, with block-aware safeguards

In short, it’s a production-ready facebook graph id lookup tool that outperforms manual workflows and unstable alternatives.

Yes β€” when used responsibly. This actor fetches and parses publicly accessible pages without authentication and is designed to avoid login/checkpoint content.

Guidelines for compliant use:

  • Only process publicly available data; do not attempt to access private or restricted resources.
  • Respect platform policies and applicable regulations (e.g., GDPR/CCPA where relevant).
  • Avoid storing or using data in ways that violate terms or user privacy expectations.
  • Verify your specific use case with your legal team if you operate in a regulated industry.

This tool does not bypass authentication and does not scrape private content.

Input parameters & output format

Example input

{
"startUrls": [
"https://www.facebook.com/NintendoAmerica",
"germtheory.vs.terraintheory",
"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl"
],
"proxyConfiguration": {
"useApifyProxy": false
}
}

Parameters

  • startUrls (array, required): List one or more Facebook URLs (e.g., https://www.facebook.com/username), usernames, or keywords. Supports bulk input. Default: none (console prefill example may be shown).
  • proxyConfiguration (object, optional): 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. Default: {"useApifyProxy": false}

Example dataset output (each run produces multiple items)

[
{
"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": "video.other",
"title": "Nintendo of America",
"description": "Nintendo of America. 5,338,483 likes Β· 43,168 talking about this...",
"alt": "Nintendo of America",
"image": "https://scontent.fbcdn.net/...",
"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\":\"video.other\",\"title\":\"Nintendo of America\",\"description\":\"Nintendo of America. 5,338,483 likes Β· 43,168 talking about this...\",\"alt\":\"Nintendo of America\",\"image\":\"https://scontent.fbcdn.net/...\",\"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\":\"video.other\",\"title\":\"Nintendo of America\",\"description\":\"Nintendo of America. 5,338,483 likes Β· 43,168 talking about this...\",\"alt\":\"Nintendo of America\",\"image\":\"https://scontent.fbcdn.net/...\",\"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/permalink/...",
"url": "https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/...",
"facebookId": "123456789",
"type": "group",
"group": {
"name": "Group Name",
"url": "https://www.facebook.com/groups/germtheory.vs.terraintheory",
"profile_picture": { "uri": "https://..." },
"id": "123456789",
"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": "Alice", "id": "111222333" }],
"creation_time": 1700000000,
"seo_title": "# IMPORTANT group post",
"id": "987654321"
},
"openGraph": {
"app_name": "Facebook",
"package": "com.facebook.katana",
"url": "https://www.facebook.com/groups/germtheory.vs.terraintheory",
"app_store_id": "284882215",
"type": "website",
"title": "Group Title",
"description": "Group description...",
"alt": "Group Title",
"image": "https://scontent.fbcdn.net/...",
"locale": "en_US"
},
"groupTitle": "Group Title",
"openGraphText": "{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Group Title\",\"description\":\"Group description...\",\"alt\":\"Group Title\",\"image\":\"https://scontent.fbcdn.net/...\",\"locale\":\"en_US\"}",
"groupText": "{\"name\":\"Group Name\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"profile_picture\":{\"uri\":\"https://...\"},\"id\":\"123456789\",\"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\":\"Alice\",\"id\":\"111222333\"}],\"creation_time\":1700000000,\"seo_title\":\"# IMPORTANT group post\",\"id\":\"987654321\"}",
"pageAdLibraryText": "null",
"userText": "null",
"rawText": "{\"source_url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"facebookUrl\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/...\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory/permalink/...\",\"facebookId\":\"123456789\",\"type\":\"group\",\"group\":{\"name\":\"Group Name\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"profile_picture\":{\"uri\":\"https://...\"},\"id\":\"123456789\",\"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\":\"Alice\",\"id\":\"111222333\"}],\"creation_time\":1700000000,\"seo_title\":\"# IMPORTANT group post\",\"id\":\"987654321\"},\"openGraph\":{\"app_name\":\"Facebook\",\"package\":\"com.facebook.katana\",\"url\":\"https://www.facebook.com/groups/germtheory.vs.terraintheory\",\"app_store_id\":\"284882215\",\"type\":\"website\",\"title\":\"Group Title\",\"description\":\"Group description...\",\"alt\":\"Group Title\",\"image\":\"https://scontent.fbcdn.net/...\",\"locale\":\"en_US\"},\"groupTitle\":\"Group Title\"}"
},
{
"facebookId": "123456789",
"postId": "pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl",
"url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...",
"facebookUrl": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...",
"pageId": "100064368354094",
"type": "post",
"node": {
"__typename": "Story",
"id": "123456789"
},
"openGraph": {
"type": "video.other",
"title": "Post Title",
"description": "Post description...",
"url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESE..."
},
"source_url": "https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...",
"openGraphText": "{\"type\":\"video.other\",\"title\":\"Post Title\",\"description\":\"Post description...\",\"url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESE...\"}",
"groupText": "null",
"nodeText": "{\"__typename\":\"Story\",\"id\":\"123456789\"}",
"pageAdLibraryText": "null",
"userText": "null",
"rawText": "{\"facebookId\":\"123456789\",\"postId\":\"pfbid02JESEPSvyiLGjvewuFYhviAwQjTdxZW1ZfnWTeCzxVWgZLT3xgoLHVDwvuenVRyKKl\",\"url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...\",\"facebookUrl\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...\",\"pageId\":\"100064368354094\",\"type\":\"post\",\"node\":{\"__typename\":\"Story\",\"id\":\"123456789\"},\"openGraph\":{\"type\":\"video.other\",\"title\":\"Post Title\",\"description\":\"Post description...\",\"url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESE...\"},\"source_url\":\"https://www.facebook.com/NintendoAmerica/posts/pfbid02JESEPSvyiLGjvew...\"}"
}
]

Note: Depending on the object and public availability, some fields can be null or omitted (e.g., pageAdLibrary, user, node). Helper fields like openGraphText, groupText, nodeText, pageAdLibraryText, userText, and rawText are stringified versions of their respective objects for table display and quick filtering.

FAQ

Is this a facebook url to id converter I can use for free?

Yes. You can run the actor on Apify’s free trial for testing and small jobs, then upgrade for higher volumes as needed.

Can it find facebook user id by url and convert usernames to numeric IDs?

Yes. Provide a profile URL or a username in startUrls β€” the tool normalizes inputs and extracts the facebook profile id from username when publicly available.

Does it work as a facebook page id finder and group id extractor?

Yes. It detects whether a URL is a page or group and captures the corresponding facebookId along with group or user objects when present.

Can it do a facebook post id lookup by url?

Yes. For public post links, it resolves identifiers using facebookId and postId fields and returns Story node data when available.

Is there a facebook url to id api I can integrate with?

Yes. All results are stored in an Apify dataset, which you can access via the Apify API. This makes it easy to integrate with apps, CRMs, and pipelines.

Do I need to log in to use this tool?

No. The actor is designed for publicly accessible data and includes block detection to avoid login/checkpoint pages.

How does it handle blocking or rate limits?

The actor uses a progressive proxy fallback (no proxy β†’ datacenter β†’ residential with up to 3 retries and sticky mode) and robust checks to return only valid, public content.

What types of outputs will I get?

Each dataset item includes stable identifiers (facebookId, postId, pageId) and structured context like user, group, openGraph, and pageAdLibrary β€” plus helper text fields for quick filtering.

Final thoughts

Facebook Url To Id Scraper is built to reliably turn public Facebook links into stable IDs with rich context for analytics and automation. It delivers fast URL-to-ID resolution, structured outputs, and developer-friendly access β€” perfect for marketers, developers, data teams, and researchers. Connect it via the Apify API to power a facebook object id lookup in your stack and start extracting smarter, scalable insights today.