HowTo: Add New Facebook Protocol Support to Pidgin/libpurple

Share your own howto's etc. Not for support questions!

HowTo: Add New Facebook Protocol Support to Pidgin/libpurple

Postby Deluge » 2015-07-14 00:56

I just noticed that this is in fact available from the Debian Squeeze and Sid (debports) repositories listed as "pidgin-facebookchat", which I believe may be the projects old name.

Recently Facebook switched over to their new API and dumped the XMPP protocol that was previously used for communicating through Facebook Chat. This makes it impossible to use Pidgin Instant Messenger to communicate to Facebook friends. For those that would like to continue to use Pidgin with their Facebook account, a plugin has been created that adds the new Facebook protocol to Pidgin. It is called purple-facebook.

As of the time of this post the plugin is not available from Debian's software repositories or any 3rd party repositories (that I know of). So I wanted to share how to build the plugin and install it. Some simple instructions can be found on the GitHub project page. I have also created a blog post with added information on building and installing.

Instructions for building on Unix-like systems:

    ‣ Install the required development dependencies:
    Code: Select all
    # apt-get install libglib2.0-dev libjson-glib-dev libpurple-dev zlib1g-dev

    ‣ Get the latest source code from the GitHub project’s releases page.

    ‣ Extract the contents of the archive, open a command line/terminal and change to the directory of the extracted source code.
    If you downloaded the latest unstable version you will need to run the command ./autogen.sh from the source’s top directory
    to create a configure script and Makefile. If you downloaded a release version the configure script should already be available.

    ‣ Run the command ./configure to generate the Makefile. If all dependencies are installed correctly there should be no errors.

    ‣ Run make to build the plugin files. If the plugin builds correctly you can execute make install which will install the files
    libfacebook.so and libfacebook.la to the directory /usr/lib/purple-2, or wherever the libpurple plugin directory is located on your
    system.
Code: Select all
$ uname -vro
4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) GNU/Linux
User avatar
Deluge
 
Posts: 82
Joined: 2010-04-30 01:15
Location: U.S.

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable