-
-
Save faridnsh/1255786 to your computer and use it in GitHub Desktop.
connecting to Facebook via 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 client = new xmpp.Client({ | |
jid: '[email protected]', // where 123456 is the users facebook id | |
api_key: apiKey, // api key of your facebook app | |
secret_key: secretKey, // secret key of your facebook app | |
session_key: sessionKey, // users current session key | |
host: 'chat.facebook.com' | |
}); | |
// you can find more details here http://developers.facebook.com/docs/chat/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment