Facebook URL to ID Converter - Page, Profile, Group & Post IDs
Pricing
from $0.50 / 1,000 id from urls
Facebook URL to ID Converter - Page, Profile, Group & Post IDs
Convert Facebook URLs and usernames to numeric IDs in bulk: page, profile, group, post, video, reel, photo and event IDs, plus owner ID, name and canonical URL.
Pricing
from $0.50 / 1,000 id from urls
Rating
0.0
(0)
Developer
Seemu Scraping
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
4 days ago
Last modified
Categories
Share
Convert any list of Facebook links or usernames into numeric Facebook IDs, in bulk. Paste page, profile, group, post, video, reel, photo or event URLs, or just usernames like nike, and get back the Facebook ID, the classic Page ID, the owner's ID and name, and the canonical URL. You don't need a login, cookies or a Facebook account.
| You paste | You get |
|---|---|
facebook.com/nike or just nike | Profile ID 100044541544829, Page ID 15087023444, name, category |
facebook.com/profile.php?id=4 | Profile ID 4, plus username zuck and name |
facebook.com/groups/germtheory.vs.terraintheory | Group ID 430027810407566, group name |
facebook.com/NintendoAmerica/posts/pfbid0… | Post ID 1511634000992197, owner ID and owner name |
facebook.com/reel/2166091230582141 | Video ID, owner ID 100044541544829 (Nike) |
facebook.com/photo/?fbid=… | Photo ID, album ID, owner ID |
facebook.com/events/268531753332225 | Event ID, event name |
What you get
One row per input URL, in a flat table that's easy to export:
- facebookId: the main numeric ID of whatever the URL points to (profile, group, post, video, photo or event)
- type:
profile,page,group,post,groupPost,video,reel,photoorevent - profileId: the profile ID of a person or page (the ID that works in
facebook.com/profile.php?id=) - pageId: the classic Facebook Page ID, which Ads Library, Business Manager and older page tools use. It is often different from the profile ID on the newer page layout.
- groupId, postId, videoId, photoId, eventId, albumId
- ownerId and ownerName: who posted the post, video, reel or photo
- name: the page, profile, group or event name
- username: the vanity username (for example
NintendoAmerica) - category: the page category (for example
Sportswear Store) - canonicalUrl: the clean, resolved URL. Redirects like
facebook.com/nintendo→facebook.com/NintendoAmericaare followed. - status:
ok,notFound,privateorinvalid, with an error message explaining any failure
Export to JSON, CSV, Excel or Google Sheets from the Dataset tab, or pull results through the Apify API.
Use cases
- Facebook ads and audience tools: get the Page ID that Ads Library and Business Manager ask for
- Lead lists and CRM enrichment: turn a spreadsheet of Facebook links into stable numeric IDs that survive username changes
- Deduplication:
facebook.com/nintendo,m.facebook.com/NintendoAmericaandprofile.php?id=100064368354094all resolve to the same ID - Social listening and research pipelines: feed numeric page, group and post IDs into other Facebook scrapers and APIs
- Resolving share links: expand
pfbidpost links and short links to real post IDs and their authors
How to use
- Paste your Facebook URLs or usernames into Facebook URLs or usernames, one per line. You can mix full URLs,
m.facebook.comlinks,@usernameand bare usernames. - Keep Include names and owner IDs on to get names, owner IDs, Page IDs and canonical URLs for every row. Turn it off for the fastest conversion: URLs that already contain a numeric ID (
profile.php?id=,/groups/123,/posts/123,/reel/123,/photo?fbid=,/events/123) are then converted from the URL alone. - Run the actor. Results appear in the Dataset tab in the same form as the input list.
Supported URL formats:
- Pages and profiles:
facebook.com/<username>,profile.php?id=,/people/<name>/<id>,/pages/<name>/<id>,m.,web.andmbasic.hosts, bare usernames - Groups:
/groups/<name>and/groups/<id>, including/permalink/and/posts/links inside groups - Posts:
/<page>/posts/<id>,/posts/pfbid…,permalink.php?story_fbid=…&id=…,story.php - Videos and reels:
/<page>/videos/<id>,/watch/?v=,/reel/<id>,fb.watchlinks - Photos:
/photo/?fbid=,photo.php?fbid=,/<page>/photos/<album>/<id> - Events:
/events/<id>and/events/<slug>/<id> - Share links:
/share/p/…,/share/v/…,/share/r/…are followed to the real URL
Output example
{"inputUrl": "nintendo","status": "ok","type": "page","facebookId": "100064368354094","profileId": "100064368354094","pageId": "119240841493711","groupId": null,"postId": null,"videoId": null,"photoId": null,"eventId": null,"albumId": null,"ownerId": null,"ownerName": null,"name": "Nintendo of America","username": "NintendoAmerica","category": "Video Game","canonicalUrl": "https://www.facebook.com/NintendoAmerica/","resolvedBy": "page","error": null}
resolvedBy shows where the ID came from: url means it was read from the link itself, and page or api means it was looked up.
Pricing
You pay per result that resolves successfully. There are two rates:
- ID read from the URL (
id-result): the link already contained the numeric ID, so no lookup was needed. This is the cheapest rate. - ID looked up (
id-lookup): the link needed a lookup, such as a username, apfbidpost or a share link, or you asked for names and owner IDs.
Invalid URLs, private profiles and links that no longer exist are listed in the results with an error, and you are not charged for them.
FAQ
What's the difference between profileId and pageId?
On Facebook's newer page layout, every page has a profile ID (for example Nike is 100044541544829) and a separate classic Page ID (Nike's is 15087023444). Ads Library, Business Manager and many older tools use the Page ID. Profile links and newer tools use the profile ID. You get both, and facebookId is always the profile ID.
Why do some personal profiles come back as private?
Facebook doesn't show the ID of a personal profile when the owner has restricted it to logged-in viewers. If you have the profile.php?id= link, the ID is read straight from it.
Does it work with groups?
Public groups resolve from their name. For any group, a /groups/<number> link, or a group post link that contains numbers, is read straight from the URL.
How fast is it? Links with an ID in them convert almost instantly. Lookups take about a second each, and five run in parallel by default (up to 20 with Parallel lookups).