Facebook Page Actions icon

Facebook Page Actions

Complete Facebook API integration - Posts, Comments, Messages, Insights & More

Post → Get Posts

AI-generated

Overview

This node integrates with the Facebook Graph API to manage Facebook Page posts. Specifically, the 'Get Posts' operation retrieves posts from a selected Facebook Page, including details such as post ID, message content, creation time, and engagement metrics like likes, comments, and shares. This is useful for scenarios where users want to automate the retrieval of recent posts from their Facebook Pages for analysis, reporting, or further processing within an automation workflow.

Use Case Examples

  1. A marketing team automates the collection of recent Facebook posts from their brand's page to analyze engagement trends.
  2. A social media manager uses the node to fetch posts and then triggers notifications or reports based on post activity.

Properties

Name Meaning
Page Select the Facebook Page from which to retrieve posts. This list is automatically loaded from the connected Facebook account and requires appropriate permissions.
Limit Specify the number of posts to retrieve, with a maximum of 100 posts.

Output

JSON

  • success - Indicates if the operation was successful.
  • message - A message describing the result of the operation.
  • pageId - The ID of the Facebook Page from which posts were retrieved.
  • posts - An array of post objects retrieved from the Facebook Page, each containing details like id, message, created_time, likes summary, comments summary, and shares.
  • count - The number of posts retrieved.

Dependencies

  • Requires a Facebook OAuth2 API credential with permissions to access Facebook Pages and read posts.

Troubleshooting

  • Ensure the Facebook OAuth2 credentials are valid and have not expired; reconnect if necessary.
  • Verify that the connected Facebook account has admin or task access to the selected Facebook Page.
  • Check that the Facebook app has the required permissions such as 'pages_show_list' and 'pages_read_engagement'.
  • If no posts are returned, confirm that the Page has posts and that the access token has permission to read them.
  • Common error messages include invalid or expired access tokens, missing permissions, or access denied errors related to the Facebook Page. Re-authenticating the Facebook account usually resolves these issues.

Links

Discussion