FBTerminal is a command line interface (CLI) for facebook designed in PHP using Facebook Application ID, Secret and Access Token.

It will work on Windows (CMD.exe), Linux/MAC (Terminal).

Right now FBTerminal have limited commands like status update, text post, photo upload etc. FBTerminal will be updated for all basic commands on facebook.

You must have compatible PHP version with setting on server to access FBTerminal.

# php -r “echo phpversion();”
# php -r “echo ini_get(’allow_url_fopen’);”

Code sample how FBTerminal trace command line

Code sample to upload photos

Photos are in folder

Linux Version

Output

Windows Version

Output

Application
FBTerminal can be used in various application that need seamless integration of facebook from backends.
FBTerminal is useful in viral marketing on facebook.
FBTerminal can be used for backup facebook data to server’s file system.