Developers » API methods » Market » market.getComments
Returns comments list for an item.
This method can be called with a user token. Access rights required: market.
owner_idID of the community that owns the items market.
Use a negative value to designate a community ID. For example owner_id = -1 corresponds to VKontakte API (club1) community ID.

int (number), required parameter
item_idItem ID.
positive number, required parameter
need_likes1 to return likes info.
flag, either 1 or 0
start_comment_idID of a comment to start a list from (details below).
positive number
offsetOffset needed to return a specific subset of comments.
positive number, default 0
countNumber of comments to return.
positive number, default 20, maximum value 100
sortSort order (asc from old to new, desc from new to old).
string, default asc
extended1 comments will be returned as numbered objects, in addition lists of profiles and groups objects will be returned.
flag, either 1 or 0
fieldsList of additional profile fields to return. See the details.

Possible values: sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, photo_id, online, online_mobile, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters, screen_name, maiden_name, timezone, occupation,activities, interests, music, movies, tv, books, games, about, quotes, personal, friend_status, military, career.
list of comma-separated words
If start_comment_id is set, the position of the comment in the list (or the closest earlier one to it) will be found. From this position, count amount of comments will be returned. Offset in this case will be counted from this position (it can be negative).
Returns the total results number in count field and an array of objects describing comments in items field.
30This profile is private
1401Comments for this market 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.