Max who has already been working on integrating a lot of other applications with WhatsApp and giving people an insight into how and what of this platform, recently explained about using WhatsApp in combination with Raspberry Pi. For combining WhatsApp with Raspberry Pi, he suggests the users to use Yowsup library. He begins by explaining about the updated version of the library and how it is more efficient than its previous versions. Yowsup is basically a python library that permits the users to sign in and make best use of WhatsApp service and provides one with all abilities of an official WhatsApp user. It also permits the users to make full-fledged customized WhatsApp client.
He performed the task by taking in a Raspberry Pi B or B+ along with the most advanced version of Raspbian. In order to install the package, it was first updated with sudo apt-get update and sudo apt-get upgrade. The firmware was updated further with sudo rpi-update. Further, the system was prepared with required Yowsup components like sudo apt-get install lython-dateutil, sudo apt-get install python-setup tools, sudo apt-get install python-dev, libevent-dev and ncurses-dev. The users can always download the library by giving command: git clone git://github.com/tgalal/yowsup.git. It can then be navigated to the folder with cd yowsup.
It might take some time, however, once it is done the user can always move on to registration of handset over WhatsApp. Things become easier from here because Yowsup is armed with a cross-platform command line at the front end and it is named as yowsup-cli. It offers options to the user for registration and offers some prime level demos too including the likes of command line client. WhatsApp registration can be done in two steps. However, the user will be required to request a registration code from the software. The command for requesting the code goes as python yowsup-cli registration –requestcode sms –phone 39xxxxxxxxxx –cc 39 –mcc 222 –mnc 10.
In thisn command, you are required to substitute cc with your national code, mcc with Mobile country code, mnc with mobile network code. Once the step is completed you will receive a sms message with a special code xxx-xxx. In the request command you will place the code and send the request command again. The biggest issue that Max reports is that sometimes users may get confuse and give cross or invalid inputs. In that case, the process will need to start from the beginning. In order to avoid any such mistake, remember to give correct inputs and go a bit slow so that everything falls in place. If everything goes well, you will receive a conformation message that goes like this,
Price: € 0, 89
The most important thing that you need to remember is that WhatsApp works only with one device at a time, so, you will need to pick up a new number in order to start with this process.
Filed Under: Reviews