> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.facebook.page.NewPagePost

- Component: `appmixer.facebook.page.NewPagePost`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.facebook 2.2.3](https://connectors.appmixer.com/connector/appmixer.facebook/2.2.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.facebook/2.2.3/component/appmixer.facebook.page.NewPagePost>

This trigger fires every time a new post is created on page.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Page (`pageId`) | text | Select page. |

## Output ports

### Port `post`

| Field | Type | Description |
| --- | --- | --- |
| `created_time` | string | - |
| `id` | string | - |
| Page name (`pageName`) | string | - |
| Page ID (`pageId`) | string | - |
| `message` | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.facebook.page.NewPagePost",
  "author": "Martin Krcmar <martin@client.io>",
  "icon": "(data URI omitted)",
  "description": "This trigger fires every time a new post is created on page.",
  "private": false,
  "tick": true,
  "auth": {
    "service": "appmixer:facebook",
    "scope": [
      "pages_read_engagement",
      "pages_read_user_content"
    ]
  },
  "quota": {
    "manager": "appmixer:facebook",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "outPorts": [
    {
      "name": "post",
      "options": [
        {
          "label": "created_time",
          "value": "created_time",
          "schema": {
            "type": "string",
            "example": "2026-09-10T08:30:00+0000"
          }
        },
        {
          "label": "id",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "104857361234567_987654321098765"
          }
        },
        {
          "label": "Page name",
          "value": "pageName",
          "schema": {
            "type": "string",
            "example": "Acme Inc"
          }
        },
        {
          "label": "Page ID",
          "value": "pageId",
          "schema": {
            "type": "string",
            "example": "104857361234567"
          }
        },
        {
          "label": "message",
          "value": "message",
          "schema": {
            "type": "string",
            "example": "We are hiring! Join our engineering team."
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "pageId": {
          "type": "string"
        }
      },
      "required": [
        "pageId"
      ]
    },
    "inspector": {
      "inputs": {
        "pageId": {
          "type": "text",
          "label": "Page",
          "index": 1,
          "source": {
            "url": "/component/appmixer/facebook/page/ListPages?outPort=pages",
            "data": {
              "transform": "./ListPages#toSelectArray"
            }
          },
          "tooltip": "Select page."
        }
      }
    }
  }
}
```
