Skip to content

Instantly share code, notes, and snippets.

@cheggaaa
Created October 6, 2011 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheggaaa/1267770 to your computer and use it in GitHub Desktop.
Save cheggaaa/1267770 to your computer and use it in GitHub Desktop.
Facebook chat authorize (node-xmpp)
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);
@astro
Copy link

astro commented Oct 6, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment