Add text comment

Add text comment


Add a comment to a media item. Must specify the parentId param - the id of the media commented on. Must also specify the comment body in the message param. Comments can be added to a channel, specified by the channel param. Tags can be added to the comment with tag param.

Requires a form token

Requires a session token - the user must be logged in

Supports redirectUrl param of fm:Form component

All optional params can be set as required.


<fm:Form action="/action/v2/uploadtext" method="post" enctype="multipart/form-data" > <input type="hidden" name="parentId" value="555888" /> <fm:Form_TextArea name="message"></fm:Form_TextArea> <fm:Form_Custom><button type="submit">Add Comment</button></fm:Form_Custom> </fm:Form>

Supported params

  • parentId (required)
  • message (required)
  • title
  • channel
  • tags
Name Required Description
parentId Required Id of the media being commented on. Must be a valid id in the project in Newzulu Platform.
message Required Comment body - text, limited to 65000 chars.
channel Id of the channel to place the comment into. Must be numeric and be a valid channel id in the project in Newzulu Platform
tags Tags for the comment. String of comma separated tags, limited to 255 chars
title Title of the comment. String, limited to 80 chars

See also