> ## 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.

# Unhide Page comment

> Restores a hidden comment on a Facebook Page post.

`metaAds.unhidePageComment` restores a hidden comment on a Facebook Page post.

```ts automations/meta-ads-unhide-page-comment.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"

export default automation("Unhide Page comment", () => {
  onDashboardRun({ title: "Unhide Page comment" })
  metaAds.unhidePageComment({ commentId: "comment-id", pageId: "page-id" })
})
```

Restoring a comment is safe to retry. Optional second argument `{ account }` selects a static project account binding.

Returns `success`. The action needs `pages_manage_engagement`, `pages_read_user_content`, and `pages_show_list`.


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