Developers » API methods » Video » video.getComments
Returns a list of comments on a video.
This method can be called with a user token. Access rights required: video.
owner_idID of the user or community that owns the video.
int (number), current user id is used by default
video_idVideo ID.
positive number, required parameter
need_likes1 to return an additional likes field
flag, either 1 or 0
positive number, accessible for versions from 5.33
offsetOffset needed to return a specific subset of comments.
int (number)
countNumber of comments to return.
positive number, default 20, maximum value 100
sortSort order:
asc oldest comment first
desc newest comment first
flag, either 1 or 0
list of comma-separated words
Returns the total number of comments and an array ofcomment objects, each containing the following fields:
  • id Comment ID.
  • from_id Comment author ID.
  • date Date (in Unix time) the comment was added.
  • message Comment text.
  • likes (If need_likes is set to 1) Information about likes, containing the following subfields:
    • count Number of likes.
    • user_likes Whether the current user liked the comment.
    • can_like Whether the current user can like the comment (1 can, 0 cannot).
30This profile is private
801Comments for this video are closed
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
In the methods wall.getComments, market.getComments, photos.getComments, video.getComments, board.getComments, graffiti now has a separate attach type.

Methods market.add, market.edit can be passed the parameter url. The market object can now return url and button_title.
can_message, ban_info, can_post, can_upload_doc, can_upload_video, can_see_all_posts, can_create_topic, is_favorite, is_hidden_from_feed fields in a community object are returned for the requests including access_token only.
The error will be returned if the access to video comments is restricted.
Affects methods video.getComments
Comments format changed, all methods returns them in the same way now