Facebook Profile Posts

Collect public Facebook posts from profile or page URLs, or by keyword.

by ApifyReady to run$0.0084 per result · $0.84 per 100 results

Example

You ask your agent

“Get the latest post from the Humans of New York Facebook page, with its reactions, comments and shares.”

You get

URL
https://www.facebook.com/reel/1689409286147436/
Type
post
Video
https://www.facebook.com/reel/1689409286147436/
Message
I'm so grateful to Laura for sharing her marathon story with me. Many people might not know that the marathon is…
Reshare count
170
Comments count
161
Reactions count
11,061
Video view count
485,640
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.cleansyntax-facebook-profile-posts-scraper",
  "input": {
    "input": {
      "profileUrls": [
        "https://www.facebook.com/humansofnewyork"
      ]
    },
    "maxItems": 1
  }
}

Response

{
  "items": [
    {
      "url": "https://www.facebook.com/reel/1689409286147436/",
      "type": "post",
      "image": null,
      "video": "https://www.facebook.com/reel/1689409286147436/",
      "author": {
        "id": "100050429952420",
        "url": "https://www.facebook.com/humansofnewyork",
        "name": "Humans of New York"
      },
      "message": "I'm so grateful to Laura for sharing her marathon story with me. Many people might not know that the marathon is shepherded by a nonprofit called New York Road Runners (NYRR), who are responsible for producing what might be the single most unifying event of the year. Not only is the marathon a great service to runners, it a great service to the New York community. Additionally the NYRR holds nu...",
      "post_id": "1693745835649732",
      "reactions": {
        "sad": 97,
        "wow": 1,
        "care": 2974,
        "haha": 2,
        "like": 5948,
        "love": 2038,
        "angry": 1
      },
      "timestamp": 1793576106,
      "author_title": null,
      "external_url": null,
      "images_count": null,
      "reshare_count": 170,
      "comments_count": 161,
      "reactions_count": 11061,
      "video_view_count": 485640,
      "attached_post_url": null
    }
  ],
  "item_count": 1
}

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 Profile Posts (tool ID: apify.cleansyntax-facebook-profile-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.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 3 →

Questions

Is Facebook Profile Posts by Apify free?

Scrollport has no free tier: it costs $0.0084 per result ($0.84 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

Collect public posts from up to five Facebook profile or page URLs, or posts matching up to five keywords, optionally between two dates. Each post includes text, date, reactions, comments and shares counts, and media links. Only public profiles return data. You're charged per post returned plus one fee per profile or keyword searched. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 50

Output

item_countnumber
itemsarray

Result records.

Errors and limits
  • upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.