Fetches replies to a Threads post.
Threads access token.
Parent post id.
Optional
Optional array of field names. Default: ["text", "username", "permalink"].
["text", "username", "permalink"]
Promise of an array of reply posts.
import { getThreadsReplies } from "naystack/socials";const replies = await getThreadsReplies(accessToken, postId);for (const reply of replies ?? []) { console.log(reply.username, ":", reply.text);} Copy
import { getThreadsReplies } from "naystack/socials";const replies = await getThreadsReplies(accessToken, postId);for (const reply of replies ?? []) { console.log(reply.username, ":", reply.text);}
Fetches replies to a Threads post.