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

# Facebook connector

- Connector: `appmixer.facebook`
- Version: 2.4.0
- Components: 5 (1 trigger, 4 actions)

Facebook is a social utility that connects people with friends and others who work, study and live around them. With more than 1 billion users, Facebook is the world's largest social network.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0>
- Documentation: <https://docs.appmixer.com/connector-configuration/facebook>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/facebook>
- Download package: <https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/download>

## Authentication

**Type:** OAuth 2

This connector is globally authenticated and verified by Appmixer (Authentication Hub) and is ready to use without registering your own OAuth application with the provider. You can still use your own OAuth credentials (clientId and clientSecret) - see the Connector Configuration section of the documentation. The Authentication Hub is enabled for all hosted Appmixer tenants; on self-managed installations it has to be explicitly set.

**Scopes:**

- `public_profile`
- `email`

## Triggers (1)

- [New Page Post](https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/component/appmixer.facebook.page.NewPagePost.md) (`appmixer.facebook.page.NewPagePost`): This trigger fires every time a new post is created on page. Additional scopes: `pages_read_engagement`, `pages_read_user_content`.

## Actions (4)

- [Create Page Post](https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/component/appmixer.facebook.page.CreatePagePost.md) (`appmixer.facebook.page.CreatePagePost`): Create a post on page. Additional scopes: `pages_manage_posts`, `pages_read_engagement`.
- [Delete Page Post](https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/component/appmixer.facebook.page.DeletePagePost.md) (`appmixer.facebook.page.DeletePagePost`): Delete a post published by a Facebook Page you manage. Additional scopes: `pages_manage_posts`, `pages_read_engagement`.
- [Find Page Posts](https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/component/appmixer.facebook.page.FindPagePosts.md) (`appmixer.facebook.page.FindPagePosts`): Find posts published by a Facebook Page you manage, newest first, optionally limited to a time range. When no post matches, the input is emitted on the Not Found port. Additional scopes: `pages_show_list`, `pages_read_engagement`.
- [Make Api Call](https://connectors.appmixer.com/connector/appmixer.facebook/2.4.0/component/appmixer.facebook.page.MakeApiCall.md) (`appmixer.facebook.page.MakeApiCall`): Performs an arbitrary authorized API call to the Facebook Graph API. Additional scopes: `pages_manage_posts`, `pages_read_engagement`.

## Changelog

### 2.4.0

- Added Delete Page Post: deletes a post published by a page you manage. Uses the scopes of Create Page Post.

### 2.3.2

- Security: upgraded form-data to 4.0.6 (predictable multipart boundary, CRLF injection in field names and filenames).

### 2.3.1

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 2.3.0

- Added Find Page Posts: reads the posts of a page you manage, with an optional time range and a result limit, including their attachments (photos, videos, links). Uses the scopes the connector already requests.
- Create Page Post: new Images input attaches up to 10 photos, each from a file or a public URL; the post outputs their Photo IDs.
- Create Page Post: the Page field accepts a typed-in Page ID when the page list fails to load.

### 2.2.4

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 2.2.3

- Output examples for CreatePagePost.

### 2.2.2

- NewPagePost: the page picker is now a typeahead text field, so a value can still be entered when the list fails to load; added output schemas with examples.

### 2.2.1

- Added MakeApiCall component for performing arbitrary authorized API calls to the Facebook Graph API.

### 2.1.0

- Added test() (Flow Test Mode) to the NewPagePost trigger.

### 2.0.0

- Updated to Facebook Graph API v25.0.
- Removed deprecated fbgraph and bluebird dependencies — uses native fetch via context.httpRequest.
- Updated OAuth scopes: manage_pages → pages_manage_posts/pages_read_engagement, publish_pages → pages_manage_posts.
- Removed FindPlace component (Place Search API was removed from Graph API).
- Modernized all components to use shared FacebookClient utility.
- Removed NewPost (feed) component — user_posts permission was removed by Facebook.

### 1.0.1

- Minor fixes

### 1.0.0

- Initial version
