Returns a list of comments on a topic on a community's discussion board
1 2 3 4 5 6 7 8 9 10 11 | boardGetComments(
group_id = "",
topic_id = "",
need_likes = 0,
start_comment_id = "",
offset = 0,
count = 20,
sort = "",
extended = 0,
v = getAPIVersion()
)
|
group_id |
ID of the community that owns the discussion board. |
topic_id |
Topic 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 (default 20, maximum 100). |
sort |
Sort order: asc - chronological, desc - reverse chronological. |
extended |
1 — to return information about users who posted comments; 0 — to return no additional fields (default). |
v |
Version of API |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.