Use Facebook From The Command Line With fbcmd

fbcmd is a cross-platform tool that lets you use Facebook from the command line. It supports posting a status, uploading photos, creating albums, listing profile information for friends, display events or your stream, share links and lots more.