purple-facebook
purple-facebook copied to clipboard
Facebook not visible in pidgin
Using a Raspberry Pi 4. (Armv7l)
Trying to use Facebook Messenger outside of the browser.
Installed pidgin and pidgin-facebookchat successfully using apt, but Facebook is not listed in the 'Protocol' drop-down list:
According to synaptic, pidgin-facebookchat installed this file: /usr/lib/purple-2/libfacebook.so
I tried copying it to /home/pi/.purple/plugins/, but it still doesn't show up in the drop-down.
Any suggestions?
I am having the same issue on openSUSE Leap 15.3. The plugin is installed, but it's not showing in Pidgin's list.
@lproven run pidgin -d
and check the output: it will log plugin loads and errors, maybe some purple-facebook dependencies are missing
@lproven run
pidgin -d
and check the output: it will log plugin loads and errors, maybe some purple-facebook dependencies are missing
I've done it on my machine.
Click to view the output
$ pidgin -d
(11:21:52) prefs: Reading /home/pi/.purple/prefs.xml
(11:21:52) prefs: Finished reading /home/pi/.purple/prefs.xml
(11:21:52) prefs: purple_prefs_get_path: Unknown pref /pidgin/browsers/command
(11:21:52) dbus: okkk
(11:21:52) plugins: probing /usr/lib/pidgin/convcolors.so
(11:21:52) plugins: probing /usr/lib/pidgin/iconaway.so
(11:21:52) plugins: probing /usr/lib/pidgin/timestamp.so
(11:21:52) plugins: probing /usr/lib/pidgin/markerline.so
(11:21:52) plugins: probing /usr/lib/pidgin/gtkbuddynote.so
(11:21:52) plugins: probing /usr/lib/pidgin/spellchk.so
(11:21:52) plugins: probing /usr/lib/pidgin/xmppdisco.so
(11:21:52) plugins: probing /usr/lib/pidgin/pidginrc.so
(11:21:52) plugins: probing /usr/lib/pidgin/ticker.so
(11:21:52) plugins: probing /usr/lib/pidgin/timestamp_format.so
(11:21:53) plugins: probing /usr/lib/pidgin/gestures.so
(11:21:53) plugins: probing /usr/lib/pidgin/musicmessaging.so
(11:21:53) plugins: probing /usr/lib/pidgin/themeedit.so
(11:21:53) plugins: probing /usr/lib/pidgin/history.so
(11:21:53) plugins: probing /usr/lib/pidgin/vvconfig.so
(11:21:53) plugins: probing /usr/lib/pidgin/cap.so
(11:21:53) plugins: probing /usr/lib/pidgin/notify.so
(11:21:53) plugins: probing /usr/lib/pidgin/transparency.so
(11:21:53) plugins: probing /usr/lib/pidgin/extplacement.so
(11:21:53) plugins: probing /usr/lib/pidgin/xmppconsole.so
(11:21:53) plugins: probing /usr/lib/pidgin/sendbutton.so
(11:21:53) plugins: probing /usr/lib/purple-2/libsimple.so
(11:21:53) plugins: probing /usr/lib/purple-2/libxmpp.so
(11:21:53) plugins: probing /usr/lib/purple-2/libzephyr.so
(11:21:53) plugins: probing /usr/lib/purple-2/offlinemsg.so
(11:21:53) plugins: probing /usr/lib/purple-2/libdiscord.so
(11:21:53) plugins: probing /usr/lib/purple-2/perl.so
(11:21:53) plugins: probing /usr/lib/purple-2/libsametime.so
(11:21:53) plugins: /usr/lib/purple-2/libsametime.so has a prefs_info, but is a prpl. This is no longer supported.
(11:21:53) plugins: probing /usr/lib/purple-2/libnovell.so
(11:21:53) plugins: probing /usr/lib/purple-2/statenotify.so
(11:21:53) plugins: probing /usr/lib/purple-2/ssl.so
(11:21:53) plugins: probing /usr/lib/purple-2/libirc.so
(11:21:53) plugins: probing /usr/lib/purple-2/libgg.so
(11:21:53) plugins: probing /usr/lib/purple-2/log_reader.so
(11:21:53) plugins: probing /usr/lib/purple-2/newline.so
(11:21:53) plugins: probing /usr/lib/purple-2/liboscar.so
(11:21:53) 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?
(11:21:53) plugins: probing /usr/lib/purple-2/libicq.so
(11:21:53) plugins: probing /usr/lib/purple-2/tcl.so
(11:21:53) plugins: probing /usr/lib/purple-2/libjabber.so
(11:21:53) 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?
(11:21:53) plugins: probing /usr/lib/purple-2/autoaccept.so
(11:21:53) plugins: probing /usr/lib/purple-2/libfacebook.so
(11:21:53) plugins: /usr/lib/purple-2/libfacebook.so is not loadable: undefined symbol: json_node_get_array
(11:21:53) plugins: probing /usr/lib/purple-2/dbus-example.so
(11:21:53) plugins: probing /usr/lib/purple-2/psychic.so
(11:21:53) plugins: probing /usr/lib/purple-2/libbonjour.so
(11:21:53) plugins: probing /usr/lib/purple-2/idle.so
(11:21:53) plugins: probing /usr/lib/purple-2/buddynote.so
(11:21:53) plugins: probing /usr/lib/purple-2/nss-prefs.so
(11:21:53) plugins: probing /usr/lib/purple-2/libaim.so
(11:21:53) plugins: probing /usr/lib/purple-2/ssl-nss.so
(11:21:53) plugins: probing /usr/lib/purple-2/joinpart.so
(11:21:53) util: Reading file xmpp-caps.xml from directory /home/pi/.purple
(11:21:53) util: File /home/pi/.purple/xmpp-caps.xml does not exist (this is not necessarily an error)
(11:21:53) jabber: creating hash tables for data objects
(11:21:53) gg: Loading Gadu-Gadu protocol plugin with libgadu 1.12.2...
(11:21:53) prefs: /purple/status/scores/offline changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/available changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/invisible changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/away changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/extended_away changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/idle changed, scheduling save.
(11:21:53) prefs: /purple/status/scores/offline_msg changed, scheduling save.
(11:21:53) util: Reading file accounts.xml from directory /home/pi/.purple
(11:21:53) util: File /home/pi/.purple/accounts.xml does not exist (this is not necessarily an error)
(11:21:53) util: Reading file status.xml from directory /home/pi/.purple
(11:21:53) certificate: CertificateVerifier x509, singleuse requested but not found.
(11:21:53) certificate: CertificateVerifier singleuse registered
(11:21:53) certificate: CertificatePool x509, ca requested but not found.
(11:21:53) certificate: CertificateScheme x509 requested but not found.
(11:21:53) certificate/x509/ca: Lazy init failed because an X.509 Scheme is not yet registered. Maybe it will be better later.
(11:21:53) certificate/x509/ca: Init failed, probably because a dependency is not yet registered. It has been deferred to later.
(11:21:53) certificate: CertificatePool ca registered
(11:21:53) certificate: CertificatePool x509, tls_peers requested but not found.
(11:21:53) certificate: CertificatePool tls_peers registered
(11:21:53) certificate: CertificateVerifier x509, tls_cached requested but not found.
(11:21:53) certificate: CertificateVerifier tls_cached registered
(11:21:53) prefs: /purple/logging/format changed, scheduling save.
(11:21:53) prefs: /purple/logging/format changed, scheduling save.
(11:21:53) prefs: /purple/proxy/type changed, scheduling save.
(11:21:53) prefs: /purple/proxy/host changed, scheduling save.
(11:21:53) prefs: /purple/proxy/port changed, scheduling save.
(11:21:53) prefs: /purple/proxy/username changed, scheduling save.
(11:21:53) prefs: /purple/proxy/password changed, scheduling save.
(11:21:53) nss: Cipher - TLS_AES_128_GCM_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_CHACHA20_POLY1305_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_AES_256_GCM_SHA384: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_RC4_128_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_128_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_256_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_RC4_128_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_ECDSA_WITH_RC4_128_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_RSA_WITH_RC4_128_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_128_GCM_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_256_GCM_SHA384: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA256: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_SEED_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_3DES_EDE_CBC_SHA: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_RC4_128_SHA: Enabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_RC4_128_MD5: Enabled
(11:21:53) nss: Cipher - TLS_DHE_RSA_WITH_DES_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_DHE_DSS_WITH_DES_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_DES_CBC_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_ECDSA_WITH_NULL_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDHE_RSA_WITH_NULL_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_RSA_WITH_NULL_SHA: Disabled
(11:21:53) nss: Cipher - TLS_ECDH_ECDSA_WITH_NULL_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_NULL_SHA: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_NULL_SHA256: Disabled
(11:21:53) nss: Cipher - TLS_RSA_WITH_NULL_MD5: Disabled
(11:21:53) nss: TLS supported versions: 0x0301 through 0x0304
(11:21:53) nss: TLS versions allowed by default: 0x0301 through 0x0303
(11:21:53) certificate: CertificateScheme x509 requested but not found.
(11:21:53) certificate: CertificateScheme x509 registered
(11:21:53) util: Reading file smileys.xml from directory /home/pi/.purple
(11:21:53) util: File /home/pi/.purple/smileys.xml does not exist (this is not necessarily an error)
(11:21:53) stun: using server
(11:21:53) sound: Initializing sound output drivers.
(11:21:53) prefs: /pidgin/conversations/placement changed, scheduling save.
(11:21:53) prefs: purple_prefs_get_bool: Unknown pref /pidgin/docklet/x11/embedded
(11:21:53) GLib-GObject: ../../../gobject/gsignal.c:2523: signal 'destroy' is invalid for instance '0x219af10' of type 'GtkStatusIcon'
(11:21:53) gtkblist: added visibility manager: 1
(11:21:53) docklet: GTK+ created
(11:21:53) gtkmedia: Registering media element types
(11:21:53) util: Reading file blist.xml from directory /home/pi/.purple
(11:21:53) util: File /home/pi/.purple/blist.xml does not exist (this is not necessarily an error)
(11:21:53) pounce: Error reading pounces: Failed to open file \u201c/home/pi/.purple/pounces.xml\u201d: No such file or directory
(11:21:53) Session Management: No SESSION_MANAGER found, aborting.
(11:21:53) network: NetworkManager not active. Assuming connection exists.
(11:21:53) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file : Failed to open file \u201c\u201d: No such file or directory
(11:21:53) util: requesting to fetch a URL
(11:21:53) dnsquery: Performing DNS lookup for 192.168.0.1
(11:21:53) dnsquery: IP resolved for 192.168.0.1
(11:21:53) proxy: Attempting connection to 192.168.0.1
(11:21:53) proxy: Connecting to 192.168.0.1:1900 with no proxy
(11:21:53) proxy: Connection in progress
(11:21:53) proxy: Connecting to 192.168.0.1:1900.
(11:21:53) proxy: Connected to 192.168.0.1:1900.
(11:21:53) util: request constructed
(11:21:53) docklet: embedded
(11:21:53) util: Response headers: 'HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2561
Server: TP-Link/TP-LINK UPnP/1.1 MiniUPnPd/1.8
Ext:
'
(11:21:53) util: parsed 2561
(11:21:53) util: requesting to fetch a URL
(11:21:53) dnsquery: Performing DNS lookup for 192.168.0.1
(11:21:53) dnsquery: Performing DNS lookup for 192.168.0.1
(11:21:53) dnsquery: IP resolved for 192.168.0.1
(11:21:53) proxy: Attempting connection to 192.168.0.1
(11:21:53) proxy: Connecting to 192.168.0.1:1900 with no proxy
(11:21:53) proxy: Connection in progress
(11:21:53) dnsquery: IP resolved for 192.168.0.1
(11:21:53) proxy: Attempting connection to 192.168.0.1
(11:21:53) proxy: Connecting to 192.168.0.1:1900 with no proxy
(11:21:53) proxy: Connection in progress
(11:21:53) proxy: Connecting to 192.168.0.1:1900.
(11:21:53) proxy: Connected to 192.168.0.1:1900.
(11:21:53) util: request constructed
(11:21:53) proxy: Connecting to 192.168.0.1:1900.
(11:21:53) proxy: Connected to 192.168.0.1:1900.
(11:21:53) upnp: Local IP: 192.168.0.208
(11:21:53) util: Response headers: 'HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 360
Server: TP-Link/TP-LINK UPnP/1.1 MiniUPnPd/1.8
Ext:
'
(11:21:53) util: parsed 360
(11:21:53) upnp: NAT Returned IP: 70.124.148.109
/usr/lib/purple-2/libfacebook.so is not loadable: undefined symbol: json_node_get_array
means you need to install json-glib library
/usr/lib/purple-2/libfacebook.so is not loadable: undefined symbol: json_node_get_array
means you need to install json-glib library
$ sudo apt install json-glib
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package json-glib
try libjson-glib-1.0-0
package name
try
libjson-glib-1.0-0
package name
APT says that package is already installed.
try
libjson-glib-1.0-0
package name
I've gone ahead and installed all packages matching the *json-glib*
pattern: json-glib-tools libjson-glib-1.0-0 libjson-glib-1.0-common libjson-glib-dev libjson-glib-doc
No change in pidgin's output.
Can you check where it is installed? Maybe Pidgin cannot find it.
Please show the output of ldd /usr/lib/purple-2/libfacebook.so
Can you check where it is installed? Maybe Pidgin cannot find it.
According to Synaptic, it appears to have installed these files:
- /usr/lib/arm-linux-gnueabihf/libjson-glib-1.0.so.0
- /usr/lib/arm-linux-gnueabihf/libjson-glib-1.0.so.0.400.4
Please show the output of
ldd /usr/lib/purple-2/libfacebook.so
Sure.
$ ldd /usr/lib/purple-2/libfacebook.so
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v8l.so (0xf7bec000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xf7b73000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xf7b4e000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf7a54000)
/lib/ld-linux-armhf.so.3 (0xf7c1b000)
@lproven run
pidgin -d
and check the output: it will log plugin loads and errors, maybe some purple-facebook dependencies are missing
Wow! 26MB of log file within 2 minutes.
I did this, and looked for the string "facebook" -- and lo, it is loading, and now it is available in my list of protocols. I am running a rolling-release distro (openSUSE Tumbleweed) and it looks like it started working since I posted.
Thank you for the reply. Now it seems to be OK. Sorry for the noise.