You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Social Media Replies

social-media/replies@1.0.1
1 provider

Get Post Replies

Get replies (comments) on a social media post, comment, or a reply.

Input
Parent ID
Page
Result
Previous page
Next page
Replies

1.Choose a provider

2.Use GetPostReplies with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

parentId
Identifier of the parent post to get replies for.
page
Pagination cursor (obtained from `previousPage` or `nextPage`).

Example

Result (object)

previousPage
Previous page cursor.
nextPage
Next page cursor.
replies
List of replies under the post.
id
Identifier of the reply.
createdAt
Timestamp of the reply creation in ISO 8601 format.
authorId
Identificator of the author.
authorName
Human-friendly name of the author.
lastModifiedAt
Timestamp of the last known reply modification in ISO 8601 format.
text
Textual content of the reply.

Example

Implementation details

Provider
mock
Use case
GetPostReplies
Author
@superface
Source
Verified