finished facebook test program.

supports login/listfriend/logout