Constructors

Methods

  • Create a new top-level comment on a post.

    Type Parameters

    • T

    Parameters

    • post_id: string

      The ID of the social media post to comment on.

    • data: object

      The content of the comment.

    Returns AxiosPromise<default<T>>

    A promise

  • Get the full thread for a given comment.

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of a comment within the thread.

    Returns AxiosPromise<default<T>>

    A promise

  • List comments for a social media post.

    Type Parameters

    • T

    Parameters

    • post_id: string

      The ID of the social media post.

    • Optional params: Record<string, any>

      Optional query parameters for filtering and sorting.

    Returns AxiosPromise<default<T>>

    A promise

  • Get a list of all comments that are pending a response.

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

      Optional query parameters for filtering.

    Returns AxiosPromise<default<T>>

    A promise

  • Mark a comment as needing a response.

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of the comment.

    Returns AxiosPromise<default<T>>

    A promise

  • Moderate a comment (approve, reject, spam, hide, show).

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of the comment to moderate.

    • data: object

      The moderation action and optional reason.

    Returns AxiosPromise<default<T>>

    A promise

  • Post a reply to a comment.

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of the comment to reply to.

    • data: object

      The content of the reply.

    Returns AxiosPromise<default<T>>

    A promise

  • Sync comments from the social media platform for a specific post.

    Type Parameters

    • T

    Parameters

    • post_id: string

      The ID of the social media post.

    • Optional params: Record<string, any>

      Optional query parameters (e.g., limit).

    Returns AxiosPromise<default<T>>

    A promise

  • Trigger a manual update of a comment's metrics from its platform.

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of the comment to update.

    Returns AxiosPromise<default<T>>

    A promise

  • Retrieve a single comment by its ID.

    Type Parameters

    • T

    Parameters

    • comment_id: string

      The ID of the comment.

    • Optional params: Record<string, any>

      Optional query parameters (e.g., include_thread).

    Returns AxiosPromise<default<T>>

    A promise

Generated using TypeDoc