ihashacks

i dunno

Fbcmd Ftw

fbcmd is a command line interface (CLI) for facebook. With it, you can do awesome Facebook command line sorcery.

Let’s get started.

1
2
3
4
apt-get install php5-cli
git clone git://github.com/dtompkins/fbcmd.git
cd fbcmd
php fbcmd.php go access

Your browser will then open. Continue as follows:

fb_login

fb_cli_auth

This results in a simple “Success” message from Facebook. Close the browser and continue.

1
php fbcmd.php go auth

fb_gen_code

fb_code

Copy the “one-time code” from above use it to authenticate fbcmd.

1
2
php fbcmd.php auth XXXXXX
php fbcmd.php addperm

fb_access

You should have another one of those generic “Success” messages from Facebook.

Check that the permissions show in the command.

1
php fbcmd.php showperm

In addition to all of the basic commands, you can do things like…

Comments