{"uid":"cap_Qb0Nq8Cq0LaL4yCdnmx5y","slug":"api-direct-facebook-post-comments-91abef89","name":"API Direct – Facebook Post Comments","description":"Get comments on a Facebook post by post ID.","url":"https://x402.apidirect.io/v1/facebook/post/comments?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["post_id"],"properties":{"pages":{"type":"integer","default":1,"maximum":20,"minimum":1,"description":"Number of pages to fetch and merge into one response (1-20). Billed per page."},"post_id":{"type":"string","description":"Facebook post ID (pfbid or numeric)"},"get_sentiment":{"type":"boolean","default":false,"description":"Set to true to add AI emotion analysis to each comment. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any com"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iDkIHbarVDL_zs3EZ5_SE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches comments on a Facebook post by its post ID, with optional AI sentiment analysis per comment.","exampleAgentPrompt":"Fetch the comments on Facebook post ID 'pfbid02XkJ9z8mQkL3' — grab 3 pages of comments and include AI sentiment analysis for each one.","exampleUseCases":[{"title":"Brand sentiment monitoring on Facebook","prompt":"Pull the comments from this Facebook post ID pfbid08QrT2mNpXv7 and include emotion analysis for each comment so I can see how people are reacting to our product launch."},{"title":"Competitor post engagement research","prompt":"Get me all the comments from Facebook post pfbid0Yz5Kx3JqWn2 — fetch 5 pages worth — so I can see what the audience is saying about our competitor's announcement."},{"title":"Customer feedback extraction","prompt":"Fetch the comments on our Facebook post pfbid01AbCdEfGhIj3 and run sentiment analysis on them, I want to understand the dominant emotions and polarity of what our customers are posting."}],"resultDescription":"Returns a list of comments on the specified Facebook post, each containing commenter details and comment text. With get_sentiment=true, each comment is enriched with a sentiment object including emotion scores (joy, trust, fear, surprise, sadness, disgust, anger, anticipation each 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative, or neutral). Multiple pages can be fetched and merged into one response.","failureModes":["Invalid or non-existent post ID returns an error or empty result","Private or restricted Facebook posts may return no comments","Rate limits or Facebook access restrictions may cause partial results","Exceeding the 20-page maximum returns a validation error","Posts with no comments return an empty comments array"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve comments from a specific Facebook post by its post ID (pfbid or numeric), especially when you also want AI-powered emotion and sentiment analysis per comment. It is the right choice for social listening, brand monitoring, competitor analysis, or customer feedback extraction on Facebook. Prefer it over manual scraping or generic web access when structured, paginated comment data with optional sentiment enrichment is needed at low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:35.247Z","isFirstParty":false,"canonicalSlug":"api-direct-facebook-post-comments-91abef89"}