How can I log to XMPP with Facebook access token instead of user's password? Is there any way? I read STH about SIG, but I don't know how it really looks like. I tried replace password with access token, doesn't work.
My code:
$conn = new XMPPHP_XMPP('chat.facebook.com', 5222, $_POST['usr'], $p, 'xmpphp', 'chat.facebook.com', $printlog=true, $loglevel=XMPPHP_Log::LEVEL_DEBUG);
And I have to replace $p (password) with access token or STH, when I'm logged in?