Hardware Reference
In-Depth Information
Introducing XMPP
The Extensible Messaging and Presence Protocol ( XMPP ), or Jabber as it was
originally named, is an open communications protocol compatible with the chat
services at Facebook and Google. There's also a large network of free to use XMPP
servers, as anyone can run their own XMPP server and there is no central
master server.
Useful Profanity
Profanity is a console-based XMPP client that will be the gateway between our chat
bot and your buddies on the chat network. Don't worry about the name—no actual
profanity will be spouted unless your friends manage to anger the chat bot with
something awful.
As our chat bot interface will be in the form of a plugin for Profanity, written in the
Python programming language, we need a special build of Profanity that is not yet
available in the Raspbian repository.
Download and install the Profanity package with the following commands:
pi@raspberrypi ~ $ wget http://www.intestinate.com/profanity_0.5.0_
plugins-1_armhf.deb
pi@raspberrypi ~ $ sudo dpkg -i profanity_0.5.0_plugins-1_armhf.deb
Now let's fire up Profanity and learn the basics:
pi@raspberrypi ~ $ profanity
Connecting to Facebook chat with Profanity
 
Search WWH ::




Custom Search