Actions8
- User Actions
- Post Actions
- Search Actions
Overview
This node integrates with the Horizon Data Wave Instagram API to retrieve comments from a specific Instagram post. It is useful for scenarios where you want to analyze user engagement, monitor feedback, or gather insights from comments on Instagram posts. For example, marketers can use it to collect comments on promotional posts to assess audience reactions, or social media managers can track discussions around particular content.
Properties
| Name | Meaning |
|---|---|
| Post ID | The unique identifier of the Instagram post from which to fetch comments. |
| Count | Maximum number of comments to return (default is 20). |
| Timeout | Timeout in seconds for the API request, ranging between 20 and 1500 seconds (default 300). |
Output
The output is an array of JSON objects, each representing a comment retrieved from the specified Instagram post. Each item contains the comment data as returned by the Horizon Data Wave Instagram API. The exact structure depends on the API response but typically includes fields such as comment text, author information, timestamp, and other metadata.
No binary data is output by this node.
Dependencies
- Requires an API key credential for authentication with the Horizon Data Wave Instagram API.
- The node sends POST requests to
https://api.horizondatawave.ai/api/instagram/post/comments. - The API expects parameters including the post ID, count of comments, and timeout.
- Proper configuration of the API key credential within n8n is necessary for successful requests.
Troubleshooting
Common Issues:
- Invalid or missing Post ID will cause the API to fail.
- Exceeding the maximum allowed count or setting an invalid timeout may result in errors.
- Network issues or incorrect API credentials will prevent successful data retrieval.
Error Messages:
- Errors include HTTP status codes and may contain headers like
x-errordescribing the problem. - Response body may provide additional details.
- If "Continue On Fail" is enabled, error details are returned in the output JSON under an
errorfield.
- Errors include HTTP status codes and may contain headers like
Resolution Tips:
- Verify that the Post ID is correct and corresponds to an existing Instagram post.
- Ensure the API key credential is valid and has necessary permissions.
- Adjust the timeout value within the allowed range (20-1500 seconds).
- Check network connectivity and API service status.
Links and References
- Horizon Data Wave Instagram API Documentation (general reference URL)
- Instagram API best practices for comment retrieval (external resource)
