Facebook (AI30DAY) icon

Facebook (AI30DAY)

Facebook Get Page List

Overview

This node operation retrieves the message history from a specified Facebook page and thread. It is useful for scenarios where you need to access past conversations or messages within a Facebook page's inbox thread. For example, customer support teams can use this to fetch chat history with users for review or follow-up.

Use Case Examples

  1. Fetch message history of a Facebook page's conversation thread to analyze customer interactions.
  2. Retrieve past messages from a specific thread to display chat logs in a CRM system.

Properties

Name Meaning
Page Id The unique identifier of the Facebook page from which to retrieve message history.
Thread Id The unique identifier of the conversation thread whose message history is to be fetched.
Next A pagination token to fetch the next set of messages in the history, if available.

Output

JSON

  • messages - An array of message objects representing the message history of the specified thread.

Dependencies

  • Requires an API key credential for Facebook access, and may require running n8n locally or on a VPS in the same country as the Facebook account IP to avoid checkpoint issues.

Troubleshooting

  • Ensure the Page Id and Thread Id are correctly specified and valid.
  • Run n8n locally or on a VPS located in the same country as your Facebook account IP to avoid checkpoint issues.
  • Check that the Facebook API credentials are correctly configured and have the necessary permissions.
  • Common errors include authentication failures, invalid IDs, or network issues. Verify credentials and network connectivity to resolve these.

Links

Discussion