Skip to content
Back to skills

Manage Comments

ASecurity

Read, reply to and moderate comments on published posts across Instagram, Facebook, YouTube, LinkedIn, TikTok, X, Threads and Bluesky, read the replies under a comment, read and send Instagram and Bluesky DMs, read WhatsApp chats, and reply to Google Business reviews. Use when the user asks about comments, replies, engagement in the comment section, moderating or deleting a comment, their DM inbox, answering a DM, or a Google Business review.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 27, 2026
content-marketinggoreactapisecurityperformance

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add Upload-Post/upload-post-plugin --skill manage-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Manage Comments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Manage Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/upload-post-manage-comments/badge)](https://www.skillsdirectory.com/skills/upload-post-manage-comments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: manage-comments
description: Read, reply to and moderate comments on published posts across Instagram, Facebook, YouTube, LinkedIn, TikTok, X, Threads and Bluesky, read the replies under a comment, read and send Instagram and Bluesky DMs, read WhatsApp chats, and reply to Google Business reviews. Use when the user asks about comments, replies, engagement in the comment section, moderating or deleting a comment, their DM inbox, answering a DM, or a Google Business review.
---

# Work the comment section

Replying is where reach turns into relationships. This skill covers the read → triage → reply loop on published content. For *automated* keyword-triggered DMs, use `/upload-post:autodm-setup` instead.

## 1. Find the post

Comment tools identify a post by either `postId` or `postUrl`. Platform quirks:

- **YouTube**: `postId` is the videoId.
- **LinkedIn**: `postId` is the post urn.
- **TikTok**: `postId` is the video id and is always required — `postUrl` is not accepted. TikTok comment tools also need the `comments` capability on the profile's TikTok account (check the `capabilities` array in `list_users`). It is granted at connection time, so an account connected before that has to reconnect TikTok first; say so plainly rather than retrying.

If the user does not have the id, `get_media` lists recent posts pulled from the connected account, and `get_history` lists what was published through Upload-Post.

## 2. Read

`get_post_comments` with `user`, `platform` (instagram / facebook / youtube / linkedin / tiktok / x / threads / bluesky; defaults to instagram), and the post identifier. `limit` caps at 50 — Meta's and TikTok's ceiling, not ours — and `after` pages through the rest (on LinkedIn replies `after` is a number).

Add `commentId` to read the replies under one comment instead of the top-level comments. Replies work on Instagram, Facebook, LinkedIn (company Page posts), TikTok, Threads and YouTube; X and Bluesky answer `platform_not_supported`. The post identifier is still required.

- **Instagram**: `commentId` is the numeric comment id from the listing.
- **Facebook**: `commentId` is the `{post}_{comment}` id from the listing. Keep `postId` in its `{page_id}_{post_id}` form: that prefix is what picks the Page.
- **LinkedIn**: pass the comment's `comment_urn` (`urn:li:comment:(urn:li:activity:…,…)`). A bare id is only searched among the post's first 250 comments (`404 linkedin_comment_not_found` otherwise). Personal-profile posts cannot be read (`403 linkedin_personal_not_supported`); `403 linkedin_page_access_denied` means the member is no longer an admin of the Page and has to fix the role and reconnect.
- `400 invalid_comment_id` is a malformed id; `404 comment_not_found` an Instagram or Facebook comment that does not exist. A comment without replies comes back as an empty list, not an error.

Check the replies before answering: if the account already replied, do not reply twice.

Do not paste the raw list back. Triage it:

- **Questions** — deserve an answer, highest priority.
- **Buying signals** — "how much", "link?", "where do I get this". These are leads; consider a private reply.
- **Praise** — a short human reply, or nothing.
- **Spam / abuse** — candidates for deletion.

## 3. Reply

Three different tools, and picking the wrong one is the main failure mode here:

| Intent | Tool | Notes |
| :--- | :--- | :--- |
| Public reply under an existing comment | `public_reply_to_comment` | `user`, `commentId`, `message`. Instagram only. |
| Private DM to the person who commented | `reply_to_comment` | `user`, `commentId`, `message`. Instagram only, and **only within Instagram's 7-day reply window** — after that the API rejects it. |
| Top-level comment, or any reply on Facebook / YouTube / LinkedIn / TikTok / X / Threads / Bluesky | `create_comment` | Provide exactly ONE of `commentId` (reply), `postId`, or `postUrl` (top-level). Instagram accepts replies only, so an Instagram call must pass `commentId`. TikTok always needs `postId` (the video id), plus `commentId` on top of it to reply inside a thread. |

Draft replies in the user's own voice — match the tone of their existing captions rather than defaulting to brand-manager English. Show the drafts and get approval before sending a batch; these are public and irreversible.

## 4. Moderate

Reversible first: `comment_action` takes `user`, `platform`, `action`, and usually `commentId` (+ `postId` where noted). Every action has an inverse, so prefer it over deleting:

- **TikTok**: `hide`/`unhide`, `pin`/`unpin` (with `postId`), `like`/`unlike` (no `postId`).
- **Facebook**: `hide`/`unhide`, `like`/`unlike`, `edit` (with `message`).
- **Instagram**: `hide`/`unhide` a comment, or `enable_comments`/`disable_comments` on a post (`postId`, no `commentId`).
- **YouTube**: `hide`/`unhide`/`hold` (with `postId`; `banAuthor` only with `hide`).
- **Threads**: `hide`/`unhide`, `approve`/`ignore`.

Permanent: `delete_comment` takes `user`, `platform` (instagram / facebook / youtube / linkedin / tiktok / x / bluesky — Threads cannot delete comments), `commentId`, and on LinkedIn also `postId` (the post urn). It is destructive and cannot be undone — always confirm the specific comment text with the user first, never delete on a general instruction like "clean up the spam" without listing what you are about to remove.

## Direct messages (Instagram, Bluesky, WhatsApp)

- Read: `list_dm_conversations` with `user` and `platform` (`instagram`, `bluesky` or `whatsapp`), optional `limit`, `cursor`, `since` (only conversations that changed), `participant_id` and `messages_limit`. Bluesky adds `conversation_id` + `messages_cursor` (older messages of one conversation), `status` (`request` / `accepted`) and `read_state: "unread"`; it returns at most 25 conversations per page and marks slow ones `messages_truncated: true`.
- Send: `send_dm` with `user`, `platform`, `recipient_id` and `message`.
  - Instagram: `recipient_id` is the person's Instagram id (from a comment or a conversation), the person must have written to the account in the last 24 hours, optional up to 3 link `buttons`.
  - Bluesky: `recipient_id` is a handle (`alice.bsky.social`), DID or profile link, or pass `conversation_id` instead (works for groups). Up to 1000 characters; links, #hashtags and up to 10 @mentions become clickable. Optional `reply_to` and one shared Bluesky post in `attachments` (`{type: "post", url}`); no images or files. `sender_action` without a message: `mark_read`, `react` / `unreact` (`message_id` + a single emoji in `reaction`), `delete` (only for this account), `accept` (a message request), `mute`, `unmute`, `leave`.
- Bluesky needs the account connected with an app password created with **"Allow access to your direct messages"**. `403 bluesky_dm_scope_missing` means it was not: tell the user to create one in Bluesky (Settings > Privacy and security > App passwords) and reconnect Bluesky; do not retry.
- `504 bluesky_send_unconfirmed` means the DM may have gone out. Read the conversation before sending anything again, and never retry it automatically. `403 bluesky_recipient_unavailable` (with `reason`) means the person does not accept DMs from this account.

- WhatsApp (`platform: "whatsapp"`): the profile's own WhatsApp Business number, connected from the dashboard or the white-label connect page with Meta's Embedded Signup (WhatsApp is never a publishing destination). No number for WhatsApp? A paid plan can buy one from Upload-Post (see the `phone-numbers` skill). Conversations hold the messages since the number was connected (90 days); `participant_id` is the person's phone number and each chat has `window_open_until`. Received media come as `media_id`. `send_dm` does not take WhatsApp yet: send through the REST API (`POST /api/uploadposts/dms/send` with `platform: "whatsapp"`, https://docs.upload-post.com/api/whatsapp-dms) until `send_dm` takes it. Free text only within 24 hours of the person's last message; outside it only an approved template (`whatsapp_template_required`). Meta bills conversations to the user's WhatsApp Business account.

DMs are private but still sent as the user: show the text and get approval before sending, especially in bulk.

## Google Business reviews

Separate surface, same loop:

- `get_google_business_locations` → pick the location id.
- `get_google_business_reviews` → read them. **Keep the `review_name`** from each result (the full `accounts/.../locations/.../reviews/{id}` path) — you need it to reply.
- `reply_to_google_business_review` → `user`, `comment`, and either that `review_name` or `review_id` + `location_id`. It creates *or overwrites* the existing owner reply, so check whether one is already there before sending.

Review replies are public and heavily weighted by local search. For anything below 3 stars, draft a reply that acknowledges the specific complaint, states what changes, and moves the conversation off-platform — then have the user approve it before sending.

## Handing off

- Recurring keyword → DM automation instead of manual replies → `/upload-post:autodm-setup`.
- Comment volume worth measuring → `/upload-post:analyze-performance`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in content-marketing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.