postGetComments function

Returns a list of comments on a post on a user wall or community wall

Returns a list of comments on a post on a user wall or community wall

postGetComments( owner_id = "", post_id = "", need_likes = 1, start_comment_id = "", offset = 0, count = 10, sort = "", preview_length = 0, extended = "", progress_bar = FALSE, v = getAPIVersion() )

Arguments

  • owner_id: User ID or community ID. Use a negative value to designate a community ID.
  • post_id: Post ID.
  • need_likes: 1 - to return the likes field (default), 0 - not to return the likes field.
  • start_comment_id: Positive number
  • offset: Offset needed to return a specific subset of comments.
  • count: Number of comments to return.
  • sort: Sort order: asc - chronological, desc - reverse chronological.
  • preview_length: Number of characters at which to truncate comments when previewed. Specify 0 (default) if you do not want to truncate comments.
  • extended: Flag, either 1 or 0.
  • progress_bar: Display progress bar
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29