Facebook Posts Scraper

Collect public Facebook posts from page or profile URLs with post metadata.

by ApifyReady to run$0.0070 per result · $0.70 per 100 results

Example

You ask your agent

“Get the two latest posts from the Humans of New York Facebook page, with likes and shares.”

You get

Page name
humansofnewyork
URL
https://www.facebook.com/reel/1564039698724000/
Text
I write him a letter every day.
Time
2026-07-31 19:37 UTC
Likes
5384
Shares
86
Comments
140
Input URL
https://www.facebook.com/humansofnewyork/
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "apify.apify-facebook-posts-scraper",
  "input": {
    "input": {
      "startUrls": [
        {
          "url": "https://www.facebook.com/humansofnewyork/"
        }
      ],
      "resultsLimit": 2
    },
    "maxItems": 2
  }
}

Response

{
  "url": "https://www.facebook.com/reel/1564039698724000/",
  "text": "I write him a letter every day.",
  "time": "2026-07-31T19:37:40.000Z",
  "user": {
    "id": "100050429952420",
    "name": "Humans of New York",
    "profileUrl": "https://www.facebook.com/100050429952420"
  },
  "likes": 5384,
  "postId": "1608404244183892",
  "shares": 86,
  "comments": 140,
  "inputUrl": "https://www.facebook.com/humansofnewyork/",
  "pageName": "humansofnewyork",
  "facebookUrl": "https://www.facebook.com/humansofnewyork/"
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Facebook Posts Scraper (tool ID: apify.apify-facebook-posts-scraper). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Questions

Is Facebook Posts Scraper by Apify free?

Scrollport has no free tier: it costs $0.0070 per result ($0.70 per 100 results), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.

All inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

commentsnumber
facebookUrlstring
inputUrlstring

URL that was requested.

likesnumber
pageNamestring
postIdstring
sharesnumber
textstring
timestring
urlstring

URL of the record.

userobject
Errors and limits

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.