boardGetCommentsExecute function

Returns a list of comments on a topic on a community's discussion board

Returns a list of comments on a topic on a community's discussion board

boardGetCommentsExecute( group_id = "", topic_id = "", need_likes = 0, start_comment_id = "", offset = 0, count = 20, sort = "", progress_bar = FALSE, v = getAPIVersion() )

Arguments

  • group_id: ID of the community that owns the discussion board.
  • topic_id: Topic ID.
  • need_likes: 1 - to return the likes field, 0 - not to return the likes field (default).
  • start_comment_id: Positive number.
  • offset: Offset needed to return a specific subset of comments.
  • count: Number of comments to return (default 20, 0 - for all comments).
  • sort: Sort order: asc - chronological, desc - reverse chronological.
  • progress_bar: Display progress bar.
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29