POST /v1/data/facebook/comments/run
Pricing: $0.0025 per comment ($2.50 per 1,000).
Request
Send the inputs underparams. Only the keys below are accepted; any other key returns 422 invalid_params.
A Facebook post, reel, or photo permalink to scrape comments from.Format e.g.
https://www.facebook.com/100044541544829/posts/1393461115481927.On: also pull replies under each comment (returned as their own rows). Off: top-level comments only.
How Facebook orders the comments it returns.Allowed values:
RANKED_UNFILTERED (All comments, ranked), RANKED_THREADED (Ranked, grouped by thread), RECENT_ACTIVITY (Most recent activity first).Example
Response fields
Each row indata is one comment, keyed by these fields.
Example response
Abridged: long text and lists are shortened.Related APIs
For the posts themselves usefacebook/posts.