Skip to content
facebook chat(xmpp). X-FACEBOOK-PLATFORM SASL for ruby xmpp4r
Latest commit 57f7a86 Oct 12, 2012 @kissrobber Merge pull request #3 from phwd/master
Update README Example to variable
Failed to load latest commit information.
lib gem Mar 1, 2012
.project first commit Jul 13, 2011
README Fixed `to` variable, added notice about xmpp_login Oct 12, 2012
xmpp4r_facebook.gemspec gem Mar 1, 2012


Expansion XMPP4R to authenticate with Facebook Connect in Ruby

gem install xmpp4r_facebook

Sample code:
require 'xmpp4r_facebook'

id = '-<sender user id>'
to = '-<user id>'
body = "hello, Im not spam!"
subject = 'message from ruby'
message = to, body
message.subject = subject

client =
client.auth_sasl(, '<App ID/API Key>', '<Access Token>', '<App Secret>'), nil)
client.send message

Ensure your access token has `xmpp_login` permission. Check at

(I want to work in Silicon Valley as a software engineer.)
Copyright (c) 2010 kissrobber, released under the GPL license
Something went wrong with that request. Please try again.