Usage - PoshHsu/0xf8c3b00k GitHub Wiki
Concept
To use a facebook client, the client must get an "access token" from facebook through OAuth. It needs to be done by accessing OAuth page in browser. That why when you execute 0xfb at the first time, it show you a URL and ask you to open that using browser. After this step, 0xfb gets access token and can access your account.
Upload photo from stdin
$ cat Pic.jpg | ./0xfb uploadphoto
And we can combine imagemagick, like
$ convert ~/t/P1000186.JPG -resize 1000x1000\> jpeg:- | ./0xfb uploadphoto
Upload photo with a description.
$ convert ~/t/P1000186.JPG -resize 1000x1000\> jpeg:- | ./0xfb uploadphoto -m "My love farm"
View albums
$ ./0xfb album