FBTerminal – Tool to access facebook on command lines

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


Windows Version


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.

Published by

Sandeep Verma

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Concentrate > Observe > Imagine > Launch