Social Get Comments
social_get_commentsRetrieve paginated comments from Scratch projects, studios, or user profiles, with optional nested replies for projects and studios.
Instructions
Page through the comments on a project, a studio, or a user's profile.
The sources paginate differently because Scratch exposes them differently, so read the argument notes:
source="project" / "studio": uses
limit+offset. Replies are a separate request, soinclude_repliescosts one extra request per comment.source="profile": uses
page(30 top-level comments per page);offsetis ignored. Replies always come back, free of charge, soinclude_repliesis irrelevant here.
Only top-level comments are listed. Scratch has a single level of nesting: a reply to a reply is stored as a reply to the top-level comment.
Both sources page over a live feed, so on a busy project or profile a comment can shift between pages while you read them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of profile comments to read, starting at 1. profile only. | |
| limit | No | Max top-level comments to return (1-40). | |
| offset | No | How many comments to skip. project and studio only. | |
| source | Yes | "project", "studio", or "profile" for a user's profile. | |
| source_id | Yes | The numeric project or studio id, or the username, matching `source`. | |
| include_replies | No | Fetch replies for each comment. project and studio only; costs one request per comment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| page | Yes | ||
| limit | Yes | ||
| offset | Yes | ||
| source | Yes | ||
| comments | Yes | ||
| has_more | Yes | ||
| returned | Yes | ||
| source_id | Yes |