Facebook Post Info avatar

Facebook Post Info

Pricing

from $1.00 / 1,000 facebook-full-data

Go to Apify Store
Facebook Post Info

Facebook Post Info

Extracts basic details: Title, Creation date, Likes, Comments, Author name and URL from public Facebook post, image, reel, video, and story URLs.

Pricing

from $1.00 / 1,000 facebook-full-data

Rating

0.0

(0)

Developer

Sergio Gour

Sergio Gour

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

6

Monthly active users

9 days ago

Last modified

Share

Extract basic metadata from public Facebook URLs that represent a single piece of content, including standard posts, photos, reels, videos, and publicly accessible stories.

This Actor is designed for quick per-URL extraction. It opens only the supplied page, reads visible page content and page metadata, and returns one dataset item per input URL.

Main uses: if you scan the same posts periodically, you get the created date and comments number so you can stop scanning posts that are too old or dont have new comments you can also limit your comments scanner to only get the newer comments based on the difference of current comment amount and previous. you can stop scanning deleted posts or public inaccessible posts

What it extracts

  • Post title
  • Post creation date
  • Resolved URL
  • Number of likes, if visible on the loaded page
  • Number of comments, if visible on the loaded page
  • Author name
  • Author URL
  • Find out if post is deleted or publicly inaccessible

Supported URL types

  • Facebook posts
  • Facebook photos / images
  • Facebook reels
  • Facebook videos
  • Facebook stories, when publicly accessible without login

Input

{
"postUrls": [
"https://www.facebook.com/username/posts/123456789012345",
"https://www.facebook.com/reel/123456789012345"
],
"CommentsNumOnly": false,
"maxConcurrency": 3,
"requestTimeoutSecs": 90
}

Output

Each input URL produces one result item like this:

{
"url": "https://www.facebook.com/reel/123456789012345",
"resolvedUrl": "https://www.facebook.com/reel/123456789012345",
"postType": "reel",
"title": "Example title",
"createdAt": "2025-12-01T09:15:00.000Z",
"likesCount": 124,
"commentsCount": 18,
"authorName": "Example Author",
"authorUrl": "https://www.facebook.com/example.author",
"DeletedPost": false,
"isPublicAccessible": true,
"extractionNotes": []
}

When CommentsNumOnly is true, each result item contains only:

{
"url": "https://www.facebook.com/reel/123456789012345",
"resolvedUrl": "https://www.facebook.com/reel/123456789012345",
"postType": "reel",
"commentsCount": 18,
"DeletedPost": false,
"isPublicAccessible": true
}

Behavior and limitations

  • The Actor does not crawl beyond the supplied post URL.
  • The Actor does not open secondary views just to compute likes or comments.
  • If CommentsNumOnly is enabled, the Actor skips title, date, likes, and author extraction entirely and only checks the page status plus visible comments count.
  • If the page does not visibly show likes or comments, the Actor returns -1 for that field.
  • If Facebook shows a login wall or "content isn't available" screen, the Actor returns null or -1 where appropriate, marks isPublicAccessible as false, and sets DeletedPost to true when one of Facebook's deleted or unavailable messages is visible on the page.
  • Facebook changes its public page structure frequently, so some edge cases may need future selector updates.

Pay-per-event monetization

This Actor supports Apify pay-per-event monetization with these custom event names:

  • facebook-no-data: the URL was processed but no meaningful data was extracted
  • facebook-partial-data: some meaningful fields were extracted, but not all core fields were present
  • facebook-full-data: all core fields were extracted