added documentation and fixed indentation for facebook.rb