root@tunkkaus:~# git clone https://github.com/jgeboski/bitlbee-facebook.git
root@tunkkaus:~# cd bitlbee-facebook/
root@tunkkaus:~/bitlbee-facebook# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory config
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:29: installing 'config/compile'
configure.ac:33: installing 'config/config.guess'
configure.ac:33: installing 'config/config.sub'
configure.ac:27: installing 'config/install-sh'
configure.ac:27: installing 'config/missing'
Makefile.am: installing './INSTALL'
facebook/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether make supports nested variables... (cached) yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for BITLBEE... yes
checking for ZLIB... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating facebook/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
root@tunkkaus:~/bitlbee-facebook# make
Making all in facebook
make[1]: Entering directory '/root/bitlbee-facebook/facebook'
CC facebook_la-facebook.lo
CC facebook_la-facebook-api.lo
CC facebook_la-facebook-http.lo
CC facebook_la-facebook-json.lo
CC facebook_la-facebook-mqtt.lo
CC facebook_la-facebook-thrift.lo
CC facebook_la-facebook-util.lo
CCLD facebook.la
make[1]: Leaving directory '/root/bitlbee-facebook/facebook'
make[1]: Entering directory '/root/bitlbee-facebook'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/root/bitlbee-facebook'
root@tunkkaus:~/bitlbee-facebook# make install
Making install in facebook
make[1]: Entering directory '/root/bitlbee-facebook/facebook'
make[2]: Entering directory '/root/bitlbee-facebook/facebook'
/bin/mkdir -p '/usr/lib/bitlbee/'
/bin/bash ../libtool --mode=install /usr/bin/install -c facebook.la '/usr/lib/bitlbee/'
libtool: install: /usr/bin/install -c .libs/facebook.so /usr/lib/bitlbee/facebook.so
libtool: install: /usr/bin/install -c .libs/facebook.lai /usr/lib/bitlbee/facebook.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/bitlbee/'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/root/bitlbee-facebook/facebook'
make[1]: Leaving directory '/root/bitlbee-facebook/facebook'
make[1]: Entering directory '/root/bitlbee-facebook'
make[2]: Entering directory '/root/bitlbee-facebook'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/root/bitlbee-facebook'
make[1]: Leaving directory '/root/bitlbee-facebook'
root@tunkkaus:~/bitlbee-facebook# /etc/init.d/bitlbee restart
Restarting BitlBee IRC/IM gateway: bitlbee.
And in irssi disconnected old Bitlbee connection, reconnected, created App password in Facebook as you adviced and did the following in &bitlbee channel:
[03/03 12:15:21] <@Kirbo> account 1 del
[03/03 12:15:21] <@root> Account deleted
[03/03 12:15:37] <@Kirbo> account add facebook <user here> <password here>
[03/03 12:15:37] <@root> Account successfully added with tag facebook
[03/03 12:15:49] <@Kirbo> account 2 on
[03/03 12:15:49] <@root> facebook - Logging in: Connecting
[03/03 12:15:49] <@root> facebook - Logging in: Requesting authentication token
[03/03 12:15:51] <@root> facebook - Logging in: Authentication finished
[03/03 12:15:51] <@root> facebook - Logging in: Signing off..
[03/03 12:15:51] <@root> facebook - Logging in: Connecting
[03/03 12:15:51] <@root> facebook - Logging in: Fetching contacts
[03/03 12:15:55] <@root> facebook - Logging in: Establishing connection
[03/03 12:15:56] ùíù Lots [<id here>@facebook] has joined &bitlbee
[03/03 12:15:56] ùíù Of [<id here>@facebook] has joined &bitlbee
[03/03 12:15:56] ùíù Friends [<id here>@facebook] has joined &bitlbee
[03/03 12:15:56] ùíù Joining [<id here>@facebook] has joined &bitlbee
[03/03 12:15:56] ùíù In [<id here>@facebook] has joined &bitlbee
I can see all my online Facebook friends and I am able to send messages to them, but I'm not receiving any of their messages.
root@tunkkaus:~/bitlbee-facebook# aptitude show bitlbee
Package: bitlbee
State: installed
Automatically installed: no
Version: 3.2.2-2+b1
Priority: optional
Section: net
Maintainer: Wilmer van der Gaast <[email protected]>
Architecture: amd64
Uncompressed Size: 577 k
Depends: libc6 (>= 2.15), libevent-2.0-5 (>= 2.0.10-stable), libgcrypt20 (>= 1.6.0), libglib2.0-0 (>= 2.24.0), libgnutls-deb0-28 (>= 3.3.0), debianutils (>= 1.16), bitlbee-common (= 3.2.2-2)
Conflicts: bitlbee-libpurple
Replaces: bitlbee-libpurple
Description: An IRC to other chat networks gateway (default version)
This program can be used as an IRC server which forwards everything you say to people on other chat networks: Jabber (which includes Google Talk and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net.
Homepage: http://www.bitlbee.org/
Tags: implemented-in::c, interface::daemon, network::server, protocol::ipv6, protocol::irc, protocol::jabber, protocol::msn-messenger, protocol::oscar, protocol::ssl, protocol::yahoo-messenger, role::program, use::chatting,
use::converting, use::proxying, works-with::im
root@tunkkaus:~/bitlbee-facebook# aptitude show bitlbee-common
Package: bitlbee-common
State: installed
Automatically installed: yes
Version: 3.2.2-2
Priority: optional
Section: net
Maintainer: Wilmer van der Gaast <[email protected]>
Architecture: all
Uncompressed Size: 370 k
Depends: debconf (>= 0.5) | debconf-2.0, net-tools, adduser
Replaces: bitlbee
Description: An IRC to other chat networks gateway (common files/docs)
This program can be used as an IRC server which forwards everything you say to people on other chat networks: Jabber (which includes Google Talk and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net.
This package contains common files (mostly documentation) for bitlbee and bitlbee-libpurple.
Homepage: http://www.bitlbee.org/
Tags: role::app-data
root@tunkkaus:~/bitlbee-facebook# aptitude show bitlbee-dev
Package: bitlbee-dev
State: installed
Automatically installed: no
Version: 3.2.2-2
Priority: optional
Section: net
Maintainer: Wilmer van der Gaast <[email protected]>
Architecture: all
Uncompressed Size: 143 k
Depends: bitlbee (>= 3.2.2-2), bitlbee (< 3.2.2-2.1~), bitlbee-common (= 3.2.2-2)
Description: An IRC to other chat networks gateway (dev files)
This program can be used as an IRC server which forwards everything you say to people on other chat networks: Jabber (which includes Google Talk and Facebook Chat), ICQ, AIM, MSN, Yahoo! and Twitter/Identica/Status.net.
This package holds development stuff for compiling plug-ins.
Homepage: http://www.bitlbee.org/
Tags: devel::lang:c, devel::library, implemented-in::c, protocol::irc, protocol::jabber, protocol::msn-messenger, protocol::oscar, protocol::yahoo-messenger, role::devel-lib, use::chatting, works-with::im
root@tunkkaus:~/bitlbee-facebook# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="https://bugs.debian.org/"
root@tunkkaus:~/bitlbee-facebook# cat /proc/version
Linux version 3.16.0-4-amd64 ([email protected]) (gcc version 4.8.3 (Debian 4.8.3-16) ) #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08)