Resolve a Public Profile ID from a URL

View all Facebook Public Data API endpoints →

Provide a public Facebook profile url to request its identifier. The resolver is documented but was not sampled, so no exact return key or envelope is guaranteed. Validate the identifier before using ID-based profile or content routes. The sampled profile-details-by-url route is an alternative when you also need the visible name and profile context. URL normalization should preserve the original submitted link for human identity checks; it does not establish consent or access to non-public content.

API Features

Profile-link normalization Accepts a supplied public profile URL as the resolver input.
Profile rather than Page identity Use this resolver for profiles instead of conflating profile IDs with business Page IDs.
Original-link review context Applications should retain the submitted URL for human checks of the resolved identity.
URL-details alternative An included sampled route can provide the visible profile context alongside the identifier.

Live API Demo

GET /api/project/facebook-scraper/profile-id

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/facebook-scraper/profile-id?key=<API_KEY>&url=<url>'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Can I read private posts after resolving a profile ID?

No. Resolving an identifier does not change visibility or replace consent or appropriate authorization.

Which endpoint should I use if I also want a name?

Consider the URL-based public-profile lookup, which has a validated sample with a visible name and profile context.

Should I retain the original URL after normalization?

Keeping it is recommended for human confirmation of the resolved subject and tracing the submission source, avoiding incorrect merges of people with the same name.

Related operations

Guides

View Subscription Plans →