As one of the fans of command line interface (CLI), there are some application running on my terminal. One of them is fbcmd or facebook command line. By this application we can update status, view stream, upload photos and many more as we can do in facebook via website application.
Here are step-by-step to install and use facebook via command line (from Ubuntu OS-based). All is via command line or termial.
- sudo apt-get install php5-cli php5-curl
- cd && wget https://raw.github.com/dtompkins/fbcmd/master/fbcmd_update.php
- php fbcmd_update.php
- sudo php fbcmd_update.php sudo
- php fbcmd_update.php install
- fbcmd go access #this will open new tab on your browser to ask permission accessing your facebook account
- fbcmd go auth #If you agree, choose generate and this will generade CODE for you
- fbcmd auth CODE #replace the CODE with the code from the previous step
- fbcmd addperm
- fbcmd