Creates a new comment on a wall post.
This method requires the following permissions: wall.
Parameters
Identifier of the post on which to comment.
Identifier of the comment to reply to.
The text of the comment. Required if there are no attachments. This parameter supports formatted text, the format is determined by the text_format parameter.
The format of the comment text passed in message. By default, the user’s preference is used.
Possible values:
markdown,
html,
plain.
JSON array representing the media attachments to be added to this post. See the separate page for the object description. Required if there is no message.
If this is not empty, make the content of the comment hidden by default, requiring a click to reveal. This text will be shown instead of the content.
A unique identifier used to prevent accidental double-posting on unreliable connections. If wall.createComment was previously called with this guid in the last hour, no new comment will be created, the ID of that previously created comment will be returned instead. Recommended for mobile apps.
Result
The identifier of the newly created comment.