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.This little utility can be useful for those who want to quickly post a status on Facebook, upload some photos and so on without having to open a browser, or to use in scripts.Install fbcmd in UbuntuTo install fbcmd in Ubuntu, follow the steps below (the installation instructions below are for fbcmd 1.1 stable; for 2.0 beta, the installation is slightly different):1. Install the required dependencies:sudo apt-get install php5-cli php5-curl2. Download and install fbcmd using the commands below:cd && wget fbcmd_update.phpsudo php fbcmd_update.php sudophp fbcmd_update.php installAnd that should complete the installation. To be able to use fbcmd, you need to give it access to your Facebook account:- For basic access, run the following command – it should open a new tab in your default web browser, asking you to allow fbcmd to access Facebook:fbcmd go access- The second step is to authorize fbcmd to use Facebook in offline mode:fbcmd go authThis once again opens a new tab in your default browser,

Comments are closed.