Facebook Comments
Facebook Comments are public responses to posts, with text, author context, publication time, visible likes, reply counts, media, and source relationships. These discussion signals support audience feedback analysis, recurring-question research, community monitoring, and content reporting.
Features
- Multi-post comment collectionCollect public comments from one or more Facebook post URLs in a single request.
- Normalized comment recordsReturn comment IDs, text, author details, timestamps, visible engagement, media, and source links in a consistent structure.
- Traceable conversation contextPreserve post, parent-comment, and submitted input references for joins, deduplication, and audit trails.
- Public data boundaryKeep private, restricted, removed, and login-only content outside the result scope.
Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Public Facebook post URLs, separated by commas or new lines. |
How to Use
Submit public Facebook post URLs as an asynchronous task, poll its task ID, then read normalized comment records with cursor pagination.
- Prepare one or more public Facebook post URLs.
- POST urls to /v1/facebook/comments.
- Poll /v1/tasks/{task_id} until the status is succeeded.
- Read /v1/tasks/{task_id}?limit=50 and follow results.next_cursor when more records exist.
curl -X POST "https://api.socq.ai/v1/facebook/comments" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.facebook.com/facebook/posts/POST_ID"]}'
# Poll GET /v1/tasks/{task_id}, then read /v1/tasks/{task_id}?limit=50 and use data.results.Best Use Cases
- Customer feedback and sentiment analysis: Analyze public comment text to understand opinions, product feedback, questions, and recurring themes.
- Campaign content optimization: Compare comment sentiment and visible engagement across campaign posts to refine messaging and creative decisions.
- Brand conversation monitoring: Organize public comments from selected brand posts by topic, time, author, and engagement signals.
- Competitive audience research: Study public reactions on competitor posts to compare audience interests, questions, and engagement patterns.
- Audience topic discovery: Build datasets of comment text and timestamps for topic clustering, trend discovery, and language analysis.
- Engaged commenter discovery: Use author details, likes, and reply counts to identify commenters who consistently drive discussion.
- Analytics and data enrichment: Connect structured comment records with campaign, post, and analytics datasets through IDs and source URLs.
Pro Tips
- Use canonical public Facebook post URLs so each input maps cleanly to its source post.
- Group related public post URLs in one request to organize each collection task by campaign or topic.
- Save the task ID immediately after submission so your application can poll and resume the collection workflow.
- Follow results.next_cursor until it is empty to read every result page returned by the task.
- Store comment IDs, post IDs, parent comment IDs, input URLs, and source URLs with every record.
- Use comment ID to identify and merge repeated records in the same dataset.
- Use created_at and collected_at to organize comment history and incremental analysis.
- Review Raw JSON when validating field mappings or connecting results to a new data pipeline.
Related APIs
Use these APIs when you need a different type of public Facebook data.
- Facebook Pages API — Retrieve public Page profiles, contact details, images, and visible audience ratings.
- Facebook Posts API — Collect public posts, media, reactions, comments, and shares from supported Facebook URLs.
- Facebook Video Transcript API — Extract available transcript text and format from known public video post or Reel URLs.
- Facebook Group Posts API — Collect public posts from Facebook group URLs with selectable ordering, per-group limits, author context, video media, and visible engagement.
- Facebook Events Search API — Search public events by keyword with schedule, place, attendance, cover media, and event-state fields.
- Facebook Ad Transcript API — Extract available spoken-word text, language, format, and source context from Facebook Ad Library URLs.
- Facebook Comment Replies API — Retrieve public replies for a known comment using its feedback ID and expansion token, with text, author identity, engagement, and parent context.
- Facebook Company Reviews API — Collect public Page reviews with review text, reviewer links, ratings, likes, timestamps, and company context.
- Facebook Event Details API — Collect normalized metadata, schedules, locations, media, and visible engagement from known public event URLs.
- Facebook Profile Events API — Collect public events associated with profile or Page URLs, including names, schedules, locations, media, visible metrics, and source context.
- Facebook Profile Photos API — Collect public photos from profile or Page URLs with captions, author context, engagement, image metadata, and source references.
- Facebook Profiles API — Look up public profiles or Pages from known Facebook URLs with identity, bio, avatar, visible counters, and input context.
- Facebook Reels API — Collect public Reels from profile or Page URLs with captions, author context, video metadata, visible engagement, and source references.