The general syntax for FBCMD is: fbcmd COMMAND parameter1 parameter2... -preference1=value1 -preference2=value2...Where each command has parameters specific to that command. In addition, there are preferences that customize the behaviour and/or the output format of FBCMD. Note: FBCMD is not case sensitive: commands can be in lower case as well Parameter FormatIf a parameter or preference value contain a space or other special OS characters (such as *) you should wrap it in quotes. For example: fbcmd status "is really excited to use fbcmd"ParametersEach Command has specific required parameters that must be provided in addition to optional parameters that can be omitted. All optional parameters (and many required parameters) have a 'default' value that can be specified with the value of 0 (zero). For example, the ADDPIC syntax is: fbcmd addpic filename [album_id] [caption]The filename is required, and the album_id and caption are optional. If you would like to specify a caption, but use the default album_id, the syntax would be: fbcmd addpic myphoto.jpg 0 "Your caption"Note: that the default value may or may not be blank, so if you wish to explicitly specify a blank parameter use use "" instead of 0. Many parameters can also accept special values. For example, specifying the keyword latest as the album_id will cause the photo to be uploaded to your most recently created photo album.fbcmd addpic newphoto.jpg latest "Adding a New Photo To my Most Recent Album"If you execute an ALBUMS command, it will list and number all of your albums... you can then use the number instead of the full facebook album_id.fbcmd albumsfbcmd addpic newphoto.jpg 6 "Adding a Photo to the sixth album in the list from the ALBUMS command"This way of caching the results from previous commands is handy with the GO command. For example, fbcmd go album 6will launch a web browser with that photo album. See the GO command for more examples like this Many commands use a special type of parameter called flists, which are a powerful way of specifying friend(s) to target in your commands. For example, to see the current status of everyone name dave plus Bob Smith plus everyone who's birthday is today plus yourself: fbcmd fstatus dave,bob.smith,=bday,=mePreferencesMost users will not need to change their preferences, but if you would like to customize the behaviour of FBCMD there is a lot of flexibility. fbcmd showprefwill list all of your current preferences For example, if you would rather not see the comments attached to stories in the stream, you can set the preference stream_show_comments to 0 (false) on the command line with -stream_show_comments=0. Many preferences also have a short form alias, so for this example, setting -scom=0 is equivalent.If you just specify just -preference it's the same as -preference=1 (true) and if you specify -preference= with no value it's the same as specifying -preference=0 (false)... which may or may not make sense for a given preference.Saving Preferences and Setting DefaultsIf you would like to make your preference the default setting, you can edit your prefs.php file. You can also use the SAVEPREF command to update your prefs.php file for you. From the previous example, the following command:fbcmd savepref -stream_show_comments=0will make this the default behaviour. Many of the default parameter settings are also a preference (here is a list). Using the the ADDPIC example from above, you can make the default album_id the most recently created album with the command: fbcmd savepref -default_addpic_albumid=latest |

If you want really want a quote in your parameter: Windows: use a backslash before the quotes: <STATUS "loves \"Weird Al\" Yankovic">. Linux/Mac: bookend with single quotes: <STATUS 'loves "Weird Al" Yankovic'>