wallGetComments 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

wallGetComments( owner_id = "", post_id = "", need_likes = "", start_comment_id = "", offset = "", count = "10", sort = "", preview_length = "0", extended = "", 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, 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 (maximum 100).
  • sort: Sort order: asc - chronological, desc - reverse chronological.
  • preview_length: Number of characters at which to truncate comments when previewed. By default, 90. Specify 0 if you do not want to truncate comments.
  • extended: Flag, either 1 or 0.
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29