If I suppose the last point it's not so important, I follow your code and I get an error in the auth_sasl method:
RuntimeError: internal-server-error
from gems/xmpp4r_facebook-0.1.1/lib/xmpp4r_facebook.rb:103:in auth' from gems/xmpp4r-0.5.6/lib/xmpp4r/client.rb:176:inauth_sasl'
Hi Dalibor. I was very glad to find your code here, but I have two questions:
RuntimeError: internal-server-error from gems/xmpp4r_facebook-0.1.1/lib/xmpp4r_facebook.rb:103:in
auth' from gems/xmpp4r-0.5.6/lib/xmpp4r/client.rb:176:in
auth_sasl'Could you please help me to give the next step?
Thanks!