##PubNub plugin for Pidgin, Adium and other libpurple based messengers.
###Components In general, for each chat client, you will be dealing with two main components:
- The PubNub common library
- The chat-client specific plugin (Adium, Pidgin/Finch)
The XCode project source for Adium can be found at https://github.com/pubnub/c/tree/master/examples/libpurple (Be sure you have installed the PubNub libpurble client before trying to run the plugin.)
- $ sudo apt-get install libpurple-dev libevent-dev libjson0-dev libcurl4-openssl-dev libssl-dev
- $ git clone git://github.com/pubnub/c
- $ cd c
- $ make
- $ sudo make install
- $ cd examples/libpurple
- $ make deb # optionaly
- $ sudo make install
- $ install macports (macports.org)
- $ sudo port install pidgin +finch
- $ sudo port install json-c
- $ sudo port install libevent
- $ git clone https://github.com/pubnub/c.git
- $ cd c/libpubnub
- $ make -f Makefile.darwin
- $ sudo make -f Makefile.darwin install
- $ cd ../examples/libpurple
- $ make
- $ mkdir -p ~/.purple/plugins
- $ cp libpubnub.so ~/.purple/plugins
Now that it installed, here’s how to configure it for your account:
- Restart Pidgin.
- Open “Manage Accounts”.
- Click “New…”
- Select the “Pubnub” protocol.
- Enter your username and the publish/subscribe keys.
- Save the account.
- Now you can send/receive messages on channels (via join a chat room).