Comments (9)
Yea I was hoping to get this going, contacted hanzz about contracting him to do it but never heard back. Hopefully it is in the future.
from spectrum2.
You need patched libpurple for that: https://developer.pidgin.im/ticket/14511
from spectrum2.
you need patched libpurple for that:
https://developer.pidgin.im/ticket/14511
On Mon, Oct 15, 2012 at 11:29 PM, Deamoner [email protected] wrote:
Yea I was hoping to get this going, contacted hanzz about contracting him
to do it but never heard back. Hopefully it is in the future.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-9462408.
from spectrum2.
Was using version 2.10.6 and applying a patch that appears to be for 2.10.0 so I downloaded the source code for 2.10.0 and applied the patch:
ubuntu@ip-10-0-0-20:~/pidgin_test/pidgin-2.10.0$ patch -p1 < pidgin-2.10.0-fb-auth.patch
patching file libpurple/protocols/jabber/Makefile.am
patching file libpurple/protocols/jabber/auth.c
patching file libpurple/protocols/jabber/auth.h
patching file libpurple/protocols/jabber/auth_fb.c
patching file libpurple/protocols/jabber/fbapi.c
patching file libpurple/protocols/jabber/fbapi.h
from spectrum2.
Log after attempting to send UserID
@chat.facebook.com as username and access_token
as password.
I: <Component.XML> XML IN <iq from='[email protected]/msg-me (1350418601868)' to='facebook.dev1.msg-me.net' type='set' id='12' xml:lang='en'><query xmlns='jabber:iq:register'><x xmlns='jabber:x:data' type='submit'><field var='FORM_TYPE' type='hidden'><value>jabber:iq:register</value></field><field var='username' type='text-single'><value>[email protected]</value></field><field var='password' type='text-private'><value>AAAEtO85EgBoBAMXjxNoB38MKmnJjFKIPg3nNGA3nnfYXwXxbNHCs1ggyJO5wURs1BUknbdUQbhntTdc9IGJPUGIgbbyd68QBzs8Bzxuccdm09iZBh</value></field><field var='language' type='list-single'><value>en</value></field><field var='encoding' type='text-single'><value>utf8</value></field></x></query></iq>
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]" type="subscribe"/>
I: <Component.XML> XML OUT <iq from="facebook.dev1.msg-me.net" id="12" to="[email protected]/msg-me (1350418601868)" type="result"/>
I: <Component.XML> XML IN <presence from='[email protected]' to='facebook.dev1.msg-me.net' type='subscribed' id='13' xml:lang='en'><priority>10</priority><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.msg-me.net/' ver='s8yQ9RoyYHu+aU9JEStfKgNwZqU='/><nick xmlns='http://jabber.org/protocol/nick'>Thiago</nick><x xmlns='vcard-temp:x:update'><photo>b2ec99006cad8d86c0d1ba946ea566ac81b5d7c1</photo></x><x xmlns='jabber:x:msgme'><connect stamp='1350418604'/><phone state='offline'><number network='sip'>817528254970</number></phone></x></presence>
I: <Component.XML> XML IN <presence from='[email protected]/msg-me (1350418601868)' to='facebook.dev1.msg-me.net' id='4' xml:lang='en'><priority>10</priority><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.msg-me.net/' ver='s8yQ9RoyYHu+aU9JEStfKgNwZqU='/><nick xmlns='http://jabber.org/protocol/nick'>Thiago</nick><x xmlns='vcard-temp:x:update'><photo>b2ec99006cad8d86c0d1ba946ea566ac81b5d7c1</photo></x><x xmlns='jabber:x:msgme'><connect stamp='1350418604'/><phone state='offline'/></x></presence>
I: <Component.XML> XML OUT <iq from="facebook.dev1.msg-me.net" id="a0363c0b-d04d-4cb0-8bd2-faf253aa8def" to="[email protected]" type="get"><query xmlns="jabber:iq:roster"/></iq>
I: <User> [email protected]: Created
I: <NetworkPluginServer> Starting new backend /usr/local/bin/spectrum2_libpurple_backend --host localhost --port 32702 "-j" "facebook.dev1.msg-me.net" "/etc/spectrum2/transports/facebook.dev1.msg-me.net:facebook:5348.cfg"
I: <NetworkPluginServer> There is no backend to handle user [email protected]. Adding him to queue.
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]/msg-me (1350418601868)" type="unavailable"><status>Connecting</status></presence>
I: <Component.XML> XML IN <iq from='[email protected]' to='facebook.dev1.msg-me.net' id='a0363c0b-d04d-4cb0-8bd2-faf253aa8def' type='error'><query xmlns='jabber:iq:roster'/><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
I: <RosterManager> [email protected]: This server does not support remote roster protoXEP
I: <Component.XML> XML IN <presence from='[email protected]' to='facebook.dev1.msg-me.net' type='subscribe' id='14' xml:lang='en'><status>Hi, I am Thiago, I would like to add you as my friend.</status><priority>10</priority><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.msg-me.net/' ver='s8yQ9RoyYHu+aU9JEStfKgNwZqU='/><nick xmlns='http://jabber.org/protocol/nick'>Thiago</nick><x xmlns='vcard-temp:x:update'><photo>b2ec99006cad8d86c0d1ba946ea566ac81b5d7c1</photo></x><x xmlns='jabber:x:msgme'><connect stamp='1350418604'/><phone state='offline'><number network='sip'>817528254970</number></phone></x></presence>
I: <backend> Setting libpurple plugins directory to: ./plugins
I: <backend> Setting libpurple cacerts directory to: ./ca-certs
I: <backend> Setting libpurple user directory to: /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <backend> Will use glib based event loop
I: <libpurple> prefs:Reading /var/lib/spectrum2/facebook.dev1.msg-me.net/prefs.xml
I: <libpurple> prefs:Finished reading /var/lib/spectrum2/facebook.dev1.msg-me.net/prefs.xml
I: <libpurple> dbus:Failed to get connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
I: <libpurple> plugins:probing /usr/lib/purple-2/libyahoo.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libsimple.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libzephyr.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libnovell.so
I: <libpurple> plugins:probing /usr/lib/purple-2/psychic.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libyahoojp.so
I: <libpurple> plugins:probing /usr/lib/purple-2/liboscar.so
I: <libpurple> plugins:/usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found. Does the plugin call the PURPLE_INIT_PLUGIN() macro?
I: <libpurple> plugins:probing /usr/lib/purple-2/statenotify.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libicq.so
I: <libpurple> plugins:probing /usr/lib/purple-2/autoaccept.so
I: <libpurple> plugins:probing /usr/lib/purple-2/log_reader.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libmyspace.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libxmpp.so
I: <libpurple> plugins:probing /usr/lib/purple-2/ssl-nss.so
I: <libpurple> plugins:probing /usr/lib/purple-2/joinpart.so
I: <libpurple> plugins:probing /usr/lib/purple-2/dbus-example.so
I: <libpurple> plugins:probing /usr/lib/purple-2/offlinemsg.so
I: <libpurple> plugins:probing /usr/lib/purple-2/idle.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libymsg.so
I: <libpurple> plugins:/usr/lib/purple-2/libymsg.so is not usable because the 'purple_init_plugin' symbol could not be found. Does the plugin call the PURPLE_INIT_PLUGIN() macro?
I: <libpurple> plugins:probing /usr/lib/purple-2/libirc.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libgg.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libmsn.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libjabber.so
I: <libpurple> plugins:/usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found. Does the plugin call the PURPLE_INIT_PLUGIN() macro?
I: <libpurple> plugins:probing /usr/lib/purple-2/buddynote.so
I: <libpurple> plugins:probing /usr/lib/purple-2/newline.so
I: <libpurple> plugins:probing /usr/lib/purple-2/ssl.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libaim.so
I: <libpurple> plugins:probing /usr/lib/purple-2/libmxit.so
I: <libpurple> prpl-loubserp-mxit:Loading MXit libPurple plugin...
I: <libpurple> util:Reading file xmpp-caps.xml from directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:File /var/lib/spectrum2/facebook.dev1.msg-me.net/xmpp-caps.xml does not exist (this is not necessarily an error)
I: <libpurple> jabber:creating hash tables for data objects
I: <libpurple> prefs:/purple/status/scores/offline changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/available changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/invisible changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/away changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/extended_away changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/idle changed, scheduling save.
I: <libpurple> prefs:/purple/status/scores/offline_msg changed, scheduling save.
I: <libpurple> util:Reading file accounts.xml from directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:File /var/lib/spectrum2/facebook.dev1.msg-me.net/accounts.xml does not exist (this is not necessarily an error)
I: <libpurple> util:Reading file status.xml from directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:File /var/lib/spectrum2/facebook.dev1.msg-me.net/status.xml does not exist (this is not necessarily an error)
I: <libpurple> certificate:CertificateVerifier x509, singleuse requested but not found.
I: <libpurple> certificate:CertificateVerifier singleuse registered
I: <libpurple> certificate:CertificatePool x509, ca requested but not found.
I: <libpurple> certificate:CertificateScheme x509 requested but not found.
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]" type="subscribed"/>
I: <libpurple> certificate/x509/ca:Lazy init failed because an X.509 Scheme is not yet registered. Maybe it will be better later.
I: <libpurple> certificate/x509/ca:Init failed, probably because a dependency is not yet registered. It has been deferred to later.
I: <libpurple> certificate:CertificatePool ca registered
I: <libpurple> certificate:CertificatePool x509, tls_peers requested but not found.
I: <libpurple> certificate:CertificatePool tls_peers registered
I: <libpurple> certificate:CertificateVerifier x509, tls_cached requested but not found.
I: <libpurple> certificate:CertificateVerifier tls_cached registered
I: <libpurple> prefs:/purple/logging/format changed, scheduling save.
I: <libpurple> prefs:/purple/logging/format changed, scheduling save.
I: <libpurple> prefs:/purple/proxy/type changed, scheduling save.
I: <libpurple> prefs:/purple/proxy/host changed, scheduling save.
I: <libpurple> prefs:/purple/proxy/port changed, scheduling save.
I: <libpurple> prefs:/purple/proxy/username changed, scheduling save.
I: <libpurple> prefs:/purple/proxy/password changed, scheduling save.
I: <libpurple> certificate:CertificateScheme x509 requested but not found.
I: <libpurple> certificate:CertificateScheme x509 registered
I: <libpurple> util:Reading file smileys.xml from directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:File /var/lib/spectrum2/facebook.dev1.msg-me.net/smileys.xml does not exist (this is not necessarily an error)
I: <libpurple> stun:using server
I: <libpurple> util:Reading file blist.xml from directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:File /var/lib/spectrum2/facebook.dev1.msg-me.net/blist.xml does not exist (this is not necessarily an error)
I: <libpurple> prefs:Reading /var/lib/spectrum2/facebook.dev1.msg-me.net/prefs.xml
I: <libpurple> prefs:Finished reading /var/lib/spectrum2/facebook.dev1.msg-me.net/prefs.xml
I: <NetworkPluginServer> New backend 0x1697030 connected. Current backend count=1
I: <NetworkPluginServer> PING to 0x1697030 (ID=)
I: <NetworkPluginServer> Associating [email protected] with this backend
I: <libpurple> util:Writing file prefs.xml to directory /var/lib/spectrum2/facebook.dev1.msg-me.net
I: <libpurple> util:Writing file /var/lib/spectrum2/facebook.dev1.msg-me.net/prefs.xml
I: <User> [email protected]: Changing legacy network presence to 0
I: <backend> Creating account with name '[email protected]' and protocol 'prpl-jabber'
I: <libpurple> account:Connecting to account [email protected].
I: <libpurple> connection:Connecting. gc = 0x133f8d0
I: <libpurple> dnssrv:querying SRV record for chat.facebook.com: _xmpp-client._tcp.chat.facebook.com
I: <libpurple> dnssrv:found 1 SRV entries
I: <libpurple> dnsquery:Performing DNS lookup for chat.facebook.com
I: <libpurple> dns:Created new DNS child 12159, there are now 1 children.
I: <libpurple> dns:Successfully sent DNS request to child 12159
I: <libpurple> dns:Got response for 'chat.facebook.com'
I: <libpurple> dnsquery:IP resolved for chat.facebook.com
I: <libpurple> proxy:Attempting connection to 69.171.241.10
I: <libpurple> proxy:Connecting to chat.facebook.com:5222 with no proxy
I: <libpurple> proxy:Connection in progress
I: <libpurple> proxy:Connecting to chat.facebook.com:5222.
I: <libpurple> proxy:Connected to chat.facebook.com:5222.
I: <libpurple> jabber:Sending ([email protected]): <?xml version='1.0' ?>
I: <libpurple> jabber:Sending ([email protected]): <stream:stream to='chat.facebook.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
I: <libpurple> jabber:Recv (400): <?xml version="1.0"?><stream:stream id="5C03421F" from="chat.facebook.com" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en"><stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms></stream:features>
I: <libpurple> jabber:Sending ([email protected]): <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
I: <libpurple> jabber:Recv (50): <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
I: <libpurple> nss:subject=CN=chat.facebook.com,O="Facebook, Inc.",L=Palo Alto,ST=California,C=US issuer=CN=DigiCert High Assurance CA-3,OU=www.digicert.com,O=DigiCert Inc,C=US
I: <libpurple> nss:subject=CN=DigiCert High Assurance CA-3,OU=www.digicert.com,O=DigiCert Inc,C=US issuer=CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US
I: <libpurple> nss:subject=CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US issuer=CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US
I: <libpurple> certificate/x509/tls_cached:Starting verify for chat.facebook.com
I: <libpurple> certificate/x509/tls_cached:Checking for cached cert...
I: <libpurple> certificate/x509/tls_cached:...Found cached cert
I: <libpurple> nss/x509:Loading certificate from /var/lib/spectrum2/facebook.dev1.msg-me.net/certificates/x509/tls_peers/chat.facebook.com
I: <libpurple> certificate/x509/tls_cached:Peer cert matched cached
I: <libpurple> nss/x509:Exporting certificate to /var/lib/spectrum2/facebook.dev1.msg-me.net/certificates/x509/tls_peers/chat.facebook.com
I: <libpurple> util:Writing file /var/lib/spectrum2/facebook.dev1.msg-me.net/certificates/x509/tls_peers/chat.facebook.com
I: <libpurple> certificate:Successfully verified certificate for chat.facebook.com
I: <libpurple> jabber:Sending (ssl) ([email protected]): <stream:stream to='chat.facebook.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
I: <libpurple> jabber:Recv (ssl)(173): <?xml version="1.0"?><stream:stream id="B7570C39" from="chat.facebook.com" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en">
I: <libpurple> jabber:Recv (ssl)(176): <stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms></stream:features>
I: <libpurple> jabber:Sending (ssl) ([email protected]): <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='X-FACEBOOK-PLATFORM'/>
I: <libpurple> jabber:Recv (ssl)(160): <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dmVyc2lvbj0xJm1ldGhvZD1hdXRoLnhtcHBfbG9naW4mbm9uY2U9RDlDRjAxNUU1ODI4MzEyNkIxMkI5MzdENTU2REUyNDQ=</challenge>
I: <libpurple> jabber:X-FACEBOOK-PLATFORM decoded challenge is version=1&method=auth.xmpp_login&nonce=D9CF015E58283126B12B937D556DE244
I: <libpurple> jabber:X-FACEBOOK-PLATFORM response before encoding is access_token=AAAEtO85EgBoBAMXjxNoB38MKmnJjFKIPg3nNGA3nnfYXwXxbNHCs1ggyJO5wURs1BUknbdUQbhntTdc9IGJPUGIgbbyd68QBzs8Bzxuccdm09iZBh&api_key=INSERT_KEY_HERE&call_id=1350418708351017&method=auth.xmpp_login&nonce=D9CF015E58283126B12B937D556DE244&sig=c55a5487cc6d6909301dab6a0b1b4ad8&v=1.0
I: <libpurple> jabber:Sending (ssl) ([email protected]): <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>YWNjZXNzX3Rva2VuPUFBQUV0Tzg1RWdCb0JBTVhqeE5vQjM4TUttbkpqRktJUGczbk5HQTNubmZZWHdYeGJOSENzMWdneUpPNXdVUnMxQlVrbmJkVVFiaG50VGRjOUlHSlBVR0lnYmJ5ZDY4UUJ6czhCenh1Y2NkbTA5aVpCaCZhcGlfa2V5PUlOU0VSVF9LRVlfSEVSRSZjYWxsX2lkPTEzNTA0MTg3MDgzNTEwMTcmbWV0aG9kPWF1dGgueG1wcF9sb2dpbiZub25jZT1EOUNGMDE1RTU4MjgzMTI2QjEyQjkzN0Q1NTZERTI0NCZzaWc9YzU1YTU0ODdjYzZkNjkwOTMwMWRhYjZhMGIxYjRhZDgmdj0xLjA=</response>
I: <libpurple> jabber:Recv (ssl)(77): <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
I: <libpurple> connection:Connection error on 0x133f8d0 (reason: 2 description: Not Authorized)
I: <UserRegistry> [email protected]: onPasswordInvalid called for invalid user
I: <User> [email protected]: Disconnected from legacy network with error Not Authorized
I: <Component.XML> XML OUT <message from="facebook.dev1.msg-me.net" to="[email protected]" type="chat"><body>Not Authorized</body><spectrumerror error="2" xmlns="http://spectrum.im/error">CONNECTION_ERROR_AUTHENTICATION_FAILED</spectrumerror></message>
I: <User> [email protected]: Destroying
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]" type="unavailable"/>
I: <libpurple> account:Disconnecting account [email protected] (0x1312070)
I: <libpurple> connection:Disconnecting connection 0x133f8d0
I: <libpurple> jabber:Sending (ssl) ([email protected]): </stream:stream>
I: <libpurple> connection:Destroying connection 0x133f8d0
I: <libpurple> account:Destroying account 0x1312070
I: <Component.XML> XML IN <iq from='[email protected]/msg-me (1350418601868)' to='facebook.dev1.msg-me.net' type='set' id='15' xml:lang='en'><query xmlns='jabber:iq:register'><remove/></query></iq>
I: <Component.XML> XML OUT <iq from="facebook.dev1.msg-me.net" id="85a3ee51-cbec-402f-bafd-029f4e6db367" to="[email protected]" type="get"><query xmlns="jabber:iq:roster"/></iq>
I: <Component.XML> XML OUT <iq from="facebook.dev1.msg-me.net" id="15" to="[email protected]/msg-me (1350418601868)" type="result"/>
I: <Component.XML> XML IN <presence from='[email protected]/msg-me (1350418601868)' to='facebook.dev1.msg-me.net' type='unavailable'/><presence from='[email protected]' to='facebook.dev1.msg-me.net' type='unsubscribe'/><presence from='[email protected]' to='facebook.dev1.msg-me.net' type='unsubscribed'/>
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]/msg-me (1350418601868)" type="unavailable"/>
I: <Component.XML> XML OUT <presence to="[email protected]" type="unavailable"/>
I: <Component.XML> XML OUT <presence to="[email protected]" type="unavailable"/>
I: <Component.XML> XML IN <iq from='[email protected]' to='facebook.dev1.msg-me.net' id='85a3ee51-cbec-402f-bafd-029f4e6db367' type='error'><query xmlns='jabber:iq:roster'/><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]" type="unsubscribe"/>
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]" type="unsubscribed"/>
I: <Component.XML> XML IN <presence type='error' from='[email protected]'><error code='400' type='modify'><bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence><presence type='error' from='[email protected]'><error code='400' type='modify'><bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>
I: <Component.XML> XML IN <presence from='[email protected]/msg-me (1350418601868)' to='facebook.dev1.msg-me.net' type='unavailable' id='17' xml:lang='en'><priority>10</priority><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.msg-me.net/' ver='s8yQ9RoyYHu+aU9JEStfKgNwZqU='/><nick xmlns='http://jabber.org/protocol/nick'>Thiago</nick><x xmlns='vcard-temp:x:update'><photo>b2ec99006cad8d86c0d1ba946ea566ac81b5d7c1</photo></x><x xmlns='jabber:x:msgme'><connect stamp='1350418604'/><phone state='offline'><number network='sip'>817528254970</number></phone></x></presence>
I: <Component.XML> XML OUT <presence from="facebook.dev1.msg-me.net" to="[email protected]/msg-me (1350418601868)" type="unavailable"/>
I: <NetworkPluginServer> PING to 0x1697030 (ID=12157)
I: <NetworkPluginServer> Disconnecting backend 0x1697030 (ID=12157). There are no users.
I: <NetworkPluginServer> Backend 0x1697030 (ID=12157) disconnected. Current backend count=0
I: <backend> Exiting...
from spectrum2.
This line is interesting:
I: <libpurple> jabber:X-FACEBOOK-PLATFORM response before encoding is access_token=AAAEtO85EgBoBAMXjxNoB38MKmnJjFKIPg3nNGA3nnfYXwXxbNHCs1ggyJO5wURs1BUknbdUQbhntTdc9IGJPUGIgbbyd68QBzs8Bzxuccdm09iZBh&api_key=INSERT_KEY_HERE&call_id=1350418708351017&method=auth.xmpp_login&nonce=D9CF015E58283126B12B937D556DE244&sig=c55a5487cc6d6909301dab6a0b1b4ad8&v=1.0
Why is it not sending the api_key
? Is that something that we have to define and if so, where?
from spectrum2.
You always have to define your own API key. I assume like spectrum 1 you define it in there config files the same way. This would be the API key you get from the Facebook app.
from spectrum2.
Defined api_key and fb_secret_key in the source code itself and it works properly now. Just need to have it reference the config file for ease of use.
from spectrum2.
Facebook deprecate Chat API v1, so it is not relevant anymore
from spectrum2.
Related Issues (20)
- libpurple backend crashes if PRPL accepts incoming file transfer without calling purple_xfer_request HOT 1
- When group chat messages are displayed as private
- Get Info does not accurately reflect the actual status of a user. HOT 1
- [purple-instagram] unable to introduce login code HOT 1
- Can Spectrum 2 be used to "bridge" two or more Legacy networks? HOT 2
- purple-gowhatsapp compatibility HOT 2
- building from source on FreeBSD: `error: redefinition of 'DummyConnectionServerFactory'` HOT 1
- Error when compiling on Arch Linux HOT 3
- Update Debian repo and packages for Debian 11 Bullseye
- how do I connect two xmpp accounts?
- Frotz backend: Documentation missing?
- Cannot access any chats in purple-matrix HOT 6
- Trying to unregister user from transport not working using GoJara (can't find any documentation to fix it)
- Twitter Backend Crashing HOT 1
- sending message from mobile not replicated (spectrum2 & Gajim) HOT 5
- Almost a year since the last binary release. Is it time for a new one?
- Build failure with log4cxx 1.0.0 HOT 7
- License incompatiblity mongoose and swiften HOT 4
- CMake Deprecation Warning at CMakeLists.txt:3 HOT 1
- Consider dropping libswiften backend HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spectrum2.