Closed sergeych closed 12 years ago
Hm Do you have the permission 'xmpp_login'? http://developers.facebook.com/docs/authentication/permissions/
oops :) well when I add the perm, now it passes with no error but I can't see any messages. Is it possible to send a message to myself?
28.03.2012, 5:16, kissrobber ():
Hm Do you get the permission 'xmpp_login'? http://developers.facebook.com/docs/authentication/permissions/
Reply to this email directly or view it on GitHub: https://github.com/kissrobber/xmpp4r_facebook/issues/1#issuecomment-4747025
well it was kinda pause with fb - now it works like a charm. thanks :)
@sergeych How did you resolve not being able to see any messages?
Specifically what is your problem?
It was actually a problem in my fb-login code, where xmpp right was not always requested. Sorry. Now it works fine
Sorry, I replied to the other guy(jdjkelly) not you(sergeych) :)
Btw, in the sample code there is a mistype that can confuse:
to = '-
should be
to = '-
Actually I'd rewrite it in a more rubyish way:
to = '-#{user_id}@chat.facebook.com'
Did everythin as stated in readme - xmpp4r_facebook.rb:103:in `auth': not-authorized (RuntimeError). acess token, api key and secret are fresh and working (checked twice)