inputobject · requiredProvider-specific public source, URL or search criteria.
Collect public comments on Facebook posts, reels and videos.
by ApifyReady to run$0.0025 per result · $0.25 per 100 results
“Get the top comment on this Humans of New York Facebook post: facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl”
Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.
{
"tool_id": "apify.apify-facebook-comments-scraper",
"input": {
"input": {
"startUrls": [
{
"url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
}
]
},
"maxItems": 1
}
}{
"items": [
{
"id": "Y29tbWVudDo2Mzc1MjE5MzQyNTUyMTEyXzQ4MTYyNzk5NjQyNDYwNg==",
"date": "2021-08-15T20:01:24.000Z",
"text": "This is one of my favorite stories to date. Good nutrition is at the heart of so many solutions. 💚",
"inputUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
"commentId": "481627996424606",
"postTitle": "(2/3) “I knew nothing about gardening. But I knew how to google, so I looked up some easy stuff to plant. Turns out it’s hard to mess up herbs. So I went to the clearance rack at Home Depot and got some herbs. All of the soil was contaminated, so I backed up a dump truck full…",
"profileId": "pfbid0Example",
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0B9rzZ3gq5JRq6ZJdixru8zu9X3zjz1ZUyCZmGWdV8T6XRG2RJwWmV6htEQHqVDNPl?comment_id=481627996424606",
"facebookId": "6375219342552112",
"likesCount": "440",
"facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
"profileName": "Facebook user",
"threadingDepth": 0
}
],
"item_count": 1
}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 Comments Scraper (tool ID: apify.apify-facebook-comments-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.
Scrollport has no free tier: it costs $0.0025 per result ($0.25 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.
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.
Collect public comments from up to five Facebook post, reel, photo or video URLs, sorted by most relevant, recent activity or all comments, optionally only those newer than a date. maxItems is split evenly across the posts; replies to comments aren't included. Each comment includes text, date, likes, commenter name and the post it belongs to. You're charged per comment returned plus a small fee per run. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.
inputobject · requiredProvider-specific public source, URL or search criteria.
maxItemsinteger · optionalMaximum number of records to return.
minimum: 1 · maximum: 100
item_countnumberitemsarrayResult records.
upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.