SocialAPIs icon

SocialAPIs

Access public data from major social platforms

Facebook Post → Get Post ID

AI-generated

Summary

Extracts the Facebook post ID from a given post URL.

Inputs

  • postLink (required) — URL of the Facebook post or reel to process

Output shape

a JSON object containing the extracted post ID

On success the response includes an "id" field; on failure an error object is returned.

Examples

Example 1: Obtain the post ID to use as input for further operations

Post URL: https://www.facebook.com/p/12345, Operation: getPostId

Links

Discussion