Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending messages to facebook, No SASL mechanism found #2

Closed
thbley opened this issue Feb 4, 2013 · 3 comments
Closed

Sending messages to facebook, No SASL mechanism found #2

thbley opened this issue Feb 4, 2013 · 3 comments

Comments

@thbley
Copy link

thbley commented Feb 4, 2013

I'm using the github master on Ubuntu 12.10.

echo hallo | ./sendxmpp -v -t someother.user@facebook.com
sendxmpp: config: 'password' => 'somepw'
sendxmpp: config: 'component' => 'chat.facebook.com'
sendxmpp: config: 'jserver' => 'chat.facebook.com'
sendxmpp: config: 'port' => '0'
sendxmpp: config: 'username' => 'someuser'
sendxmpp: ssl_verify: 1
sendxmpp: tls_ca_path:
sendxmpp: Connect: 1
No SASL mechanism found
at /usr/share/perl5/Authen/SASL.pm line 77
at /usr/share/perl5/XML/Stream.pm line 2155

/root/.sendxmpprc:
someuser@chat.facebook.com somepw chat.facebook.com

I have installed libauthen-sasl-perl 2.1500-1

In /usr/share/perl5/Authen/SASL/Perl I have:
ANONYMOUS.pm CRAM_MD5.pm DIGEST_MD5.pm EXTERNAL.pm GSSAPI.pm LOGIN.pm PLAIN.pm

Do you have any ideas how to solve this issue?
Thanks!

(Google Talk is working without any problems)

@nicolas-raoul
Copy link

I use Pidgin successfully with Facebook, and notice Pidgin uses this username format:

-100006230325259@chat.facebook.com

100006230325259 is the Facebook id of the person.
Yes, the id contains a - caracter, so I guess it must be escaped so that bash does not interfer with it.
Maybe using the same format in your command line would work better?

@ddurdle
Copy link

ddurdle commented Jan 20, 2015

My user ID doesn't have a - in it, and numeric@chat.facebook.com worked for me just now.

@ddurdle
Copy link

ddurdle commented Jan 20, 2015

echo hello | sendxmpp -v -t #######@chat.facebook.com
sendxmpp: config: 'password' => 'PASSWORD'
sendxmpp: config: 'component' => 'chat.facebook.com'
sendxmpp: config: 'jserver' => 'chat.facebook.com'
sendxmpp: config: 'port' => '0'
sendxmpp: config: 'username' => '#######'
sendxmpp: Connect: 1
sendxmpp: AuthSend: ok
sendxmpp: MessageSend
sendxmpp: Disconnect

@lhost lhost closed this as completed Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants