Developer docsSocial Gateway API reference Postman العربية

Comments

Facebook and Instagram comments share one shape. They arrive in real time through Meta webhooks, and a periodic sync catches anything missed.

GET  /api/v1/posts/{postId}/comments?cursor=...&limit=50
GET  /api/v1/comments/{commentId}
POST /api/v1/comments/{commentId}/replies   { "message": "..." }
POST /api/v1/comments/{commentId}/hide
POST /api/v1/comments/{commentId}/unhide
DELETE /api/v1/comments/{commentId}
{
  "id": "0192...", "platform": "instagram", "socialAccountId": "0192...", "postTargetId": "0192...",
  "platformCommentId": "1789...", "platformPostId": "1790...", "parentPlatformCommentId": null,
  "text": "How much?", "author": { "platformId": "1784...", "name": "customer_name" },
  "isFromAccount": false, "isHidden": false, "isDeleted": false, "likeCount": 0,
  "createdAt": "2026-09-26T10:15:00Z", "updatedAt": "2026-09-26T10:15:02Z"
}

Reply, hide and delete are asynchronous and return an operationId. The reply's id arrives in the operation result and in the social.comment.replied event.

A comment written by the page itself cannot be hidden (a Meta restriction).