Commands‎ > ‎

ADDPICD

Description

Upload (add) a directory of .jpg photos to an album.

Parameters

 1 (required) Directory Photo Directory.
 2 (optional) album_id Album ID.  You can specify the album # from the last ALBUMS command or the full album_id.  The value of "latest" will correspond to your most recently created album.  A value of null (initial FBCMD default) will add the photo to an album titled "Command Line Photos".

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

Output

The command will display the newly created photo_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

  • Unless you grant FBCMD the permission to PUBLISH on your behalf, your pictures will go into a pending status to be approved.  To avoid this step, grant FBCMD the PUBLISH permission by clicking (here)
  • Facebook will resize of large .jpg files to have a maximum dimension of 604 pixels (source)

Examples

fbcmd ADDPICD c:\photos\jamaica 1

fbcmd ADDPICD c:\photos\jamaica 1234567890

Comments