Substack icon

Substack

Interact with Substack API

Comment → Get All Comments

AI-generated

Overview

This node interacts with the Substack API to retrieve all comments for a specified post. It is useful for scenarios where you want to gather user feedback, discussions, or engagement data related to a particular post on a Substack publication. For example, you can use it to fetch all comments on a blog post to analyze reader interactions or display them elsewhere.

Use Case Examples

  1. Fetch all comments for a specific post by providing the post ID.
  2. Limit the number of comments retrieved to manage data volume.

Properties

Name Meaning
Post ID The ID of the post to get comments for, used to specify which post's comments to retrieve.
Limit Maximum number of comment results to return, used to control the volume of data fetched.

Output

JSON

  • json - The JSON output contains the comment data retrieved from the Substack API, including details of each comment.

Dependencies

  • Requires an API key credential for Substack API authentication.

Troubleshooting

  • If the node throws an error about an unknown operation or resource, verify that the 'resource' is set to 'Comment' and the 'operation' is set to 'Get All Comments'.
  • Errors related to API authentication indicate issues with the provided Substack API credentials; ensure they are correctly configured.
  • If no comments are returned, check that the provided Post ID is valid and that the post has comments.
  • Limit parameter should be a positive number; setting it to zero or negative may cause errors.

Links

  • Substack API Documentation - Official API documentation for Substack, useful for understanding available endpoints and data structures.

Discussion