Returns discussion board topics by their identifiers.

Accessing topics in private or closed groups requires the groups:read permission.

This method can be called without an access token.

Parameters

topic_ids
string

Comma-separated list of topic identifiers.

extended
boolean

Whether to return information about users who created the topics and last posted in them.

By default false.

preview
enum

Comment preview mode.

  • first – Return the text of the first comment in comment_preview for each topic
  • last – Return the text of the last comment in comment_preview for each topic
  • none – Do not return comment_preview

By default none.

preview_length
integer (non-negative)

If preview is not none, how many characters of the comment text to return. The text will be truncated on a word boundary. Pass 0 to return complete texts.

By default 90.

Result

If extended is false, an array of board topics.

If extended is true, an object with items containing an array of board topics and profiles containing an array of user objects.

Errors

Global errors may occur when calling this method.