Preferences

THIS PAGE HAS NOT YET BEEN UPDATED FOR VERSION 2.0

Preferences in FBCMD can be set in 4 different ways:
  1. The system defaults are in fbcmd.php
  2. Your default values in prefs.php
  3. From the command line ("-preference_name=value")
  4. An additional preference file you specify with "-prefs=filename.php"
Note: Preferences set in higher steps override those in previous steps.

If you'd like to change your preferences, you can modify your prefs.php file, either manually or with the SAVEPREF command.

Most Common preferences have a shorter alias to make them easier to use on the command line

The following preferences can be set within FBCMD.  

 Preference Name Alias Description
 albumfile -afile Specify the location to save information from the ALBUM command
 album_save -asave Flag to save (cache) information from the ALBUM command
 apics_filename  -af Filename format for APICS command
 appkey   Facebook application key
 appsecret   Facebook application secret key
 auth_auto_launch  Flag to automatically launch browser for authorization requests
 auto_mkdir  Flag to automatically create directories when necessary (eg. *PIC)
 csv_bookend   CSV Output: Bookend character
 csv_escaped_bookend   CSV Output: Escaped Bookend character
 csv_force_bookends  -csvf CSV Output: Force bookended format
 csv_separator   CSV Output: Separation character
 delpost_comment_fail -cfail Flag to not delete post if there are comments
 eventfile -efile Specify the location to save information from the EVENT command
 event_dateformat  -edf Date formatting for the EVENT and FEVENT commands
 event_save -esave Flag to save (cache) information from the EVENT command
 events_attend_mask  -emask Specify which events to show based on rsvp status
 facebook_debug  -debug Flag for Facebook Debug
 feed_template   Template ID for FEED1 and FEED2 commands
 fevents_attend_mask  -fmask Specify which events to show based on rsvp status
 fgroups_show_id -gid Flag to display the Group ID in the FGROUPS command
 flist_chunksize  -ch Number of sequential FQL queries to group together in large flists
 folder_blankrow -fbr Flag to print blank rows after folder entries
 folder_dateformat -fdf Date formatting for INBOX commands
 folder_show_date -fd Show the date in INBOX commands
 folder_show_snippet -snip Show the first line (snippet) of latest message in INBOX
 folder_show_threadid -tid Show the thread_id in the INBOX commands
 fpics_filename  -ff Filename format for FPICS command
 go_default_numeric  Specify default destination for numeric GO commands
 keyfile  -key Location of the sessionkeys.txt file
 launch_exec  Specify the executable command to launch a browser for GO
 mail_save -msave Flag to save (cache) thread information in *INBOX commands
 mailfile -mfile Specify the location to save thread information from *INBOX commands
 mkdir_mode  (Mac/Linux) specify the directory mode for new directories (eg. *PIC)
 msg_blankrow -mbr Flag to print blank rows after thread entries
 msg_dateformat -mdf Date formatting for the MSG command
 msg_show_date -md Show the date in the MSG command
 noticefile -nfile Specify the location to save information from the NOTICES command
 notices_blankrow -nbr Flag to print blank rows after notice entries
 notices_dateformat -ndf Date formatting for the NOTICES command
 notices_save -nsave Flag to save (cache) information from the NOTICES command
 notices_show_date -nd Show the date in the NOTICES command
 notices_show_id -nid Show the notification_id in the NOTICES command
 online_idle  -idle Flag to include 'idle' friends as online
 opics_filename  -of Filename format for OPICS command
 pic_dateformat  -pdf Date formatting for *PIC commands
 pic_retry_count  -pr Number of times to retry downloading images in *PIC commands
 pic_retry_delay  -prd Number of microseconds to wait between retries
 pic_show_albumid -paid Show the album_id in the ALBUM and some *PIC commands
 pic_show_date  -pd Show the photo creation date in *PIC commands
 pic_show_links  -plink Show the link to the facebook page for *PIC commands
 pic_show_src  -psrc Show the location of the image file for *PIC commands
 pic_size  -psize Specify the size of photos to download in *PIC commands
 pic_skip_exists -pskip Do not download photos if the destination file already exists
 postfile  -pfile Specify the location to save recent posts in *STREAM commands
 ppic_size  -ppsize Specify the size of photos to download in PPIC command
 ppics_filename  -pf Filename format for PPICS command
 prefix_filter   flist prefix character for stream filters
 prefix_friendlist   flist prefix character for friend lists
 prefix_group  flist prefix character for groups
 prefix_page   flist prefix character for pages
 prefix_tag  flist prefix character for using the status tag format
 prefix_username   flist prefix character for usernames
 prefs   Specify an additional preferences file
 print_blanks  -bl Print blank entries in some commands
 print_clean -clean Clean Looking Output: Hide duplicate row data
 print_col_padding -pad Specify the number of spaces between output columns
 print_csv  -csv Display output in CSV Format
 print_header  -hdr Flag to display column headers in output
 print_linefeed_subst  Specify how to show linefeeds in CSV or non-wrapped output
 print_wrap -wrap Flag to wrap the rightmost column of output on the display
 print_wrap_cut -cut Flag to cut long lines in wrapped output
 print_wrap_env_var  Specify an environment variable to determine print_wrap_width
 print_wrap_min_width  Specify the minimum rightmost column width for wrapping
 print_wrap_width -cols Specify the width of your command line (console) window
 quiet  -q Flag to suppress output in some commands
 restatus_comment_new -cnew Flag to not replace status (add new status) if there are comments
 show_id  -id Flag to always show user IDs
 status_dateformat  -stdf Date formatting for STATUS commands
 status_show_date  -std Show the date in STATUS commands
 status_tag -tag Flag to enable tagging in STATUS commands
 status_tag_order  Specify matching order for tagging in STATUS commands
 status_tag_syntax  Specify pattern to match for STATUS tagging
 stream_blankrow -sbr Flag to print blank rows after post entries
 stream_dateformat  -sdf Date formatting for *STREAM commands
 stream_new_from   Specify how stories are considered 'new' in *STREAM commands
 stream_save  -ssave Flag to save (cache) post information in *STREAM commands
 stream_show_appdata  -sapp Flag to show extended application data in *STREAM commands
 stream_show_attachments  -satt Flag to show attachment data in *STREAM commands
 stream_show_comments  -scom Flag to show story comments in *STREAM commands
 stream_show_date  -sd Flag to show the date in *STREAM commands
 stream_show_likes  -slikes Flag to show like information in *STREAM commands
 stream_show_postid  -sid Flag to show the full post_id in *STREAM commands
 trace  -t Flag to trace return output from all Facebook API calls
 update_branch  Specify default software branch for the UPDATE command

In addition, many parameter defaults can also be set as preferences.
Comments