Returns comments on a wall post.
This method can be called without an access token.
Parameters
The identifier of the post.
How to structure the comments. By default uses the user preference. If no token is used, defaults to flat.
Possible values:
threaded,
two_level,
flat.
Offset into the comments.
How many comments to return. When view_type is threaded or two_level, how many top-level comments to return.
By default 20.
How many replies to return, combined, in all threads, when view_type is threaded or two_level. Ignored for flat.
By default 20.
To retrieve a reply thread, the identifier of the comment whose replies you would like to get. Important: if you’re displaying comments as two levels, you need to pass flat to view_type when loading reply threads.
The sort order for the comments.
asc– Oldest firstdesc– Newest first
By default asc.
Whether to return information about likes.
Whether to return user and group objects related to the comments.
By default false.
Result
A paginated list of wall post objects extended with the following fields:
If extended is true, an array of users relevant to these comments.
If extended is true, an array of groups relevant to these comments.
The view type for which these comments are intended. Useful for figuring out the user preference if view_type was not specified explicitly.
Possible values:
threaded,
two_level,
flat.