Actions21
- Message Actions
- Page Actions
- User Actions
- Group Actions
- Comment Actions
- Facebook Id Actions
- Media Actions
- Test Proxy Actions
Overview
This node operation retrieves comments from a specific Facebook post. It is useful for scenarios where you want to analyze, monitor, or respond to comments on a Facebook post programmatically. For example, marketers can use it to gather user feedback or engagement data from their posts.
Use Case Examples
- Fetch all comments from a Facebook post to analyze user engagement.
- Retrieve comments to moderate or respond to them automatically.
Properties
| Name | Meaning |
|---|---|
| Post Id | The unique identifier of the Facebook post from which to get comments. It should be in the 'fid_postid' format and is required for this operation. |
| Next | A pagination token or cursor to fetch the next set of comments if the results are paginated. Optional for continuing comment retrieval across multiple pages. |
Output
JSON
commentInfo- The main JSON object containing the retrieved comments and related metadata.
Dependencies
- Requires an API key credential for Facebook API access.
Troubleshooting
- Ensure the Post Id is correctly formatted and valid to avoid errors.
- Run n8n locally or on a VPS located in the same country as your Facebook account IP to avoid checkpoint issues.
- Check API authentication credentials if the node fails to connect to Facebook API.
- Handle pagination properly using the 'Next' property to retrieve all comments if there are multiple pages.
Links
- Facebook Graph API - Comment - Official Facebook API documentation for comment objects and endpoints.