Commands‎ > ‎

DELPOST

Description

Delete a post. Useful for removing your last status update.

Parameters

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

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

  • DELPOST can only delete posts you have made with FBCMD
  • If the post had comments, then you can fail if (-cfail=1) or lose those comments (-cfail=0)
  • DELPOST 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 STATUS "is uupdating his status"
fbcmd DELPOST 0
fbcmd STATUS "is updating his status"

fbcmd FSTREAM =me
fbcmd DELPOST 3

fbcmd DELPOST 3 -cfail=0

Comments