> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List post comments

> Lists comments on a Facebook Page post or ad post.

`metaAds.listPostComments` lists comments on a Facebook Page post or ad post.

```ts automations/meta-ads-list-post-comments.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"

export default automation("List post comments", () => {
  onDashboardRun({ title: "List post comments" })
  const comments = metaAds.listPostComments({
    filter: "stream",
    pageId: "page-id",
    postId: "page-id_post-id",
  })
  // Review comments that still need an answer.
})
```

Pass the Page that owns the post; Meta returns no comments to a user token. For an ad, use the creative's `effectiveObjectStoryId` from [Get creative](https://docs.automate.ax/reference/integrations/meta-ads/actions/get-creative.md) as `postId`. `filter: "toplevel"` returns only top-level comments and `filter: "stream"` returns every comment and reply in chronological order; Meta defaults to `toplevel`. `order` accepts `chronological` or `reverse_chronological`. `limit` defaults to `25`. Optional second argument `{ account }` selects a static project account binding.

Returns comments with the same fields as [Get Page comment](https://docs.automate.ax/reference/integrations/meta-ads/actions/get-page-comment.md) and a `pageInfo` cursor.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.