Facebook Comments

Access Facebook Page comments with the Graph API: list, reply (with tagging and images), and view replies

Overview

This node allows editing a Facebook comment or reply on a Facebook Page using the Facebook Graph API. It is useful for updating the text of an existing comment, optionally adding an attachment image URL or message tags in JSON format. This operation is beneficial for social media managers or automated workflows that need to modify comments programmatically, such as correcting typos, updating information, or adding context to a comment.

Use Case Examples

  1. Edit a comment on a Facebook Page to update its message text.
  2. Add an image attachment URL to an existing comment to enhance the comment's content.
  3. Use message tags in JSON format to tag users or objects within the edited comment.

Properties

Name Meaning
Authentication Method to provide credentials for Facebook API access, either Access Token or OAuth2.
Request Timeout (ms) Timeout duration in milliseconds for each HTTP request to the Facebook API.
Max Retries Number of retry attempts on HTTP 429, 5xx errors, or timeouts.
Comment ID The ID of the Facebook comment to edit.
New Message The new text content to replace the existing comment message.
Additional Fields Optional additional parameters for the comment edit, including attachment URL and message tags in JSON format.

Output

JSON

  • id - The ID of the edited comment.
  • message - The updated message text of the comment.
  • attachment_url - The URL of the attached image if provided.
  • message_tags - Array of tags applied to the message if provided.

Dependencies

  • Facebook Graph API

Troubleshooting

  • Ensure the Comment ID is in the correct format (numeric or numeric_numeric).
  • Message text must not exceed 8000 characters.
  • Attachment URL must be a valid HTTPS URL.
  • If using OAuth2 authentication, a valid Page ID must be provided or selected.
  • Network or connection issues may cause request failures; check firewall, DNS, SSL, and proxy settings.
  • If using Access Token authentication, ensure the token is a valid Page token, not a user token.

Links

Discussion