Created
October 6, 2011 15:54
-
-
Save cheggaaa/1267770 to your computer and use it in GitHub Desktop.
Facebook chat authorize (node-xmpp)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fbUID = '123456'; | |
var params = { | |
jid: '-' + fbUID + '@chat.facebook.com', | |
api_key: '54321', // api key of your facebook app | |
access_token: 'abcdefg', // user access token | |
host: 'chat.facebook.com', | |
}; | |
var client = new Xmpp.Client(params); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. xmppjs/xmpp.js@9e4de25