Comment insights
Comment endpoints (all take the post url)
- TikTok:
tiktok_comments(most liked first), replies viatiktok_comment_replies - Instagram:
instagram_comments(sort:popularfor the top 15,recentto page), replies viainstagram_comment_replies - YouTube:
youtube_comments(order:relevanceortime), replies viayoutube_comment_replies - X:
twitter_replies - Facebook:
facebook_comments, replies viafacebook_comment_replies(passfeedback_idandexpansion_tokenfrom the comment)
Each page costs 1 credit. Ask before pulling more than 10 pages per post.
Steps
- Pick posts. Use the user's links, or take the top posts by
playsfrom a profile's recent posts. - Pull comments, 1 to 5 pages per post. Keep
text,likes,repliesandcreated_at. Pull replies only for comments with many replies. - Clean: drop emoji-only, spam and repeated bot text, but count them (bot share is a useful signal).
- Group into themes: questions, complaints and objections, praise, feature or product requests, purchase intent ("where can I buy", "link?"), comparisons with other brands.
- Weight themes by comment likes, not just counts.
Output
Top themes with a count, total likes, and 2 or 3 real example comments each (quoted exactly). Then a short "what to do with this" section: FAQ answers to write, objections to address, content ideas. Note how many comments were read and the credits spent.
How to call ScrapeIO
Needs SCRAPEIO_API_KEY. If it is missing, ask the user to get a free key at https://scrapeio.com/login (100 credits, no card). Never print the key.
- With the
scrapeioMCP server: use the named tool when it exists (for exampletiktok_profile). For any other path, usecall_endpointwith{ "path": "/v1/...", "params": { ... } }. - Without MCP:
curl -s "https://scrapeio.com<path>?<params>" -H "x-api-key: $SCRAPEIO_API_KEY". - Answers are in
data; lists aredata.itemswithdata.cursoranddata.has_more. Fields are the same on every platform:handle,followers,plays,likes,comments,shares,created_at,url. - 403 (private) and 404 (not found) are free: skip and move on. Retry 502 once. 402 means the user needs credits (https://scrapeio.com/pricing).
- Watch
credits_remainingand tell the user before a step would spend more than they expect.


