Commands‎ > ‎

COMMENT

Description

Add a comment to a story that appears in the stream

Parameters

 1 (required) post_id Post ID.  See the post_id page for more details.
 2 (required) Text Comment.

See the syntax page and the parameter defaults page for information on setting your default parameters.

Output

The post_id.

Preferences

The following Preferences apply to this command:
See the general preferences page for a list of preferences that apply to all (or most) commands.

Notes

  • COMMENT requires extended PUBLISH permissions: click (here) to grant fbcmd the PUBLISH permissions
  • special post_id keywords require extended READ permissions: click (here) to grant fbcmd the READ permissions

Examples

fbcmd POST "is sharing a link:" "CLI for Facebook" "http://fbcmd.dtompkins.com"
fbcmd COMMENT 0 "I posted the last link and this comment from the command line!"

fbcmd STREAM
fbcmd COMMENT 3 "This was 3rd story in the last STREAM command I executed"

fbcmd COMMENT 1234567890_1234567890 "This is a comment on a story with a full post_id"

Comments