postGetComments {vkR}R Documentation

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

Description

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

Usage

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


[Package vkR version 0.2 Index]