Facebook username ID
Resolve a Facebook vanity name to its numeric id.
Turns a vanity name into the numeric id that the other Facebook endpoints accept. Worth calling once and caching, since the numeric id never changes and passing it saves a lookup on every later call.
The example response below is real output from this endpoint, not an illustration. Long lists and long strings are shortened to keep the page readable, and each place that happens is marked. This example took 9.1s.
Authorization
ApiKeyAuth Your API key. Sent on every request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/scrapers/facebook-username-id" \ -H "Content-Type: application/json" \ -d '{ "identifier": "martin.garrix" }'{ "request_id": "req_8f2c1d94e7b0", "success": true, "status": { "code": "OK", "message": "Scrape completed.", "retryable": false }, "data": { "data": { "numeric_id": "275648462478015" } }, "error": null, "meta": { "client_id": "client_abc123", "scraper": "facebook-username-id", "billable": true, "duration_ms": 8623 }}Facebook sound discover
Facebook sound DISCOVERY (reverse index), the scalable, public substitute for a (requires an authenticated session, infeasible) FB audio keyword search.
X
Profiles and their timelines, single posts, replies, and keyword search with the full operator syntax. Still widely called Twitter, and the endpoint names use that spelling.