loading

In this tutorial we will see how to use WhatsApp with Raspberry Pi.
We will use the Yowsup library we had already used in these tutorials: WhatsApp message from Phidgets SBC , Phidgets WhatsApp - ask the status of your sensors.

These days the library has been completely rewritten and improved, so we will see how to install it and use it.

Yowsup is a python library that allows you to login and use the WhatsApp service and provides you with all capabilities of an official WhatsApp client, allowing you to create a full-fledged custom WhatsApp client.

You need:

a Raspberry Pi B or B+, with the latest version of Raspbian, or our MIcroSD Card 8GB Class 10 Raspbian preinstalled.

Step 1: Installation

Update the packages with

sudo apt-get update
sudo apt-get upgrade

Update firmware

sudo rpi-update

Prepare the system with the necessary components to Yowsup

sudo apt-get install python-dateutil
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo apt-get install libevent-dev
sudo apt-get install ncurses-dev

Download the library with the command

git clone git://github.com/tgalal/yowsup.git

navigate to the folder

cd yowsup

and install the library with the command

sudo python setup.py install

Step 2: Registration

After installing the library we have to register the device to use WhatsApp. Yowsup comes with a cross platform command-line frontend called yowsup-cli. It provides you with the options of registration, and provides a few demos such as a command line client.

WhatsApp registration involves 2 steps. First you need to request a registration code. And then you resume the registration with code you got.

Request a code with command

python yowsup-cli registration --requestcode sms --phone 39xxxxxxxxxx --cc 39 --mcc 222 --mnc 10

Replace with your data ,

cc is your country code in this example 39 is for Italy,

mcc is Mobile Country Code check your here

mnc is Mobile Network Code check your here

You should receive on your phone a sms message with a code like xxx-xxx

Send a message to request registration with this command, (replace xxx-xxx with code you received)

python yowsup-cli registration --register xxx-xxx --phone 39xxxxxxxxxx --cc 39

If all goes well, we should get a message like this

status: ok
  kind: free
  pw: xxxxxxxxxxxxxxxxxx=
  price: € 0,89
  price_expiration: 1416553637
  currency: EUR
  cost: 0.89
  expiration: 1445241022
  login: 39xxxxxxxxxxx
  type: existing

Warning

WhatsApp requires the registration of a number, and with that number you can use WhatsApp on only one device at a time, so it is preferable to use a new number.

WhatsApp can be used on one device at a time and if you will make many attempts to register the number, it could be banned. We recommend you using Telegram, see our tutorial

Step 3: Utilization

Create a file to save your credentials

sudo nano /home/pi/yowsup/config

with this content

## Actual config starts below ##
  cc=39 #if not specified it will be autodetected
  phone=39xxxxxxxxxx
  password=xxxxxxxxxxxxxxx=

Ok, we're ready for the test, Yowsup has a demo application in /home/pi/yowsup/yowsup/demos

Navigate to yowsup folder

cd /home/pi/yowsup

Start yowsup-cli demos with the command

yowsup-cli demos --yowsup --config config

You can see Yowsup prompt

If type "/help" you can see all available commands

First use the '/L' command for login; to send a message type

/message send 39xxxxxxxxxx "This is a message sent from Raspberry Pi"

replace xxx with the recipient number

If you respond with a message it will be displayed on Raspberry.

The possibilities of use are endless, for example you could use
WhatsApp to send messages in the home automation system seen in the tutorial Home Automation Raspberry and Phidgets part 2 or Home Automation Raspberry and Phidgets part 3

Follow us on social to stay informed.

www.emmeshop.eu

<p>hello.. what should we need to give in the password field of this section. <br><br>## Actual config starts below ##<br> cc=39 #if not specified it will be autodetected<br> phone=39xxxxxxxxxx<br> password=xxxxxxxxxxxxxxx=</p>
<p>Hi all. What is the latest solution for the issue during registration:</p><p>status: fail</p><p>reason: old_version</p><p>Any clues, will be very appreciated. </p><p>e</p>
<p>Source: <a href="https://github.com/tgalal/yowsup/issues/1920" rel="nofollow"> https://github.com/tgalal/yowsup/issues/1920</a></p><p>-----------</p><p>After reading other posts, I ran<br><br>./setup.py build<br><br>and then registered a different number. It worked! Sending and receiving messages also works.<br><br>In summary, I used these parameters in env_s40.py.</p><br><pre> _VERSION = &quot;2.16.11&quot;<br> _TOKEN_STRING = &quot;PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}&quot;<br></pre><p>and I registered an Israeli number, so the command line arguments were not as shown in<br><br>my previous post.</p>
<p>i am getting this during registration:</p><p>INFO:yowsup.common.http.warequest:{&quot;status&quot;:&quot;fail&quot;,&quot;reason&quot;:&quot;old_version&quot;}</p>
<p>i m getting the same error aswell. if u found the solution plz do tell me</p>
<p>I'm have the same problem.</p><p>HELP PLEASE</p>
<p>edit yowsup/env/env_android.py and change:</p><p>_MD5_CLASSES to 1I2weuZmVg+uL50+HXeSJw==</p><p>and </p><p>_VERSION to 2.16.328</p><p>on yowsup/env/env.py</p><p>change:</p><p>DEFAULT to android</p>
<p>Thank you very much</p>
<p>I am getting the error message 'Authentification Error: not-authorized' without changing anything on the password since 2 days.</p><p>I've tried to registrate new with 'yowsup-cli --requestcode....'</p><p>There I got the error </p><p>'yowsup.common.http.warequest:{&quot;status&quot;:&quot;fail&quot;,&quot;reason&quot;:&quot;old_version&quot;}'</p><p>I've tried the stuff of ClapsonD and updated all, including the </p><p>'pip install --upgrade six' but the error still exist....</p><p>Any idea?</p><p>plz help!!</p>
<p>i m getting the following error while generating registration code.</p><p>INFO:yowsup.common.http.warequest:{&quot;status&quot;:&quot;fail&quot;,&quot;reason&quot;:&quot;old_version&quot;}</p><p> can anybody help plz</p>
<p>Really NICE!!!!!</p><p> I'll try it ;)</p><p>Thank you!</p>
<p>Use this link to get MCC &amp; MNC codes<br><br><a href="http://mcclist.com/mobile-network-codes-country-codes.asp" rel="nofollow">http://mcclist.com/mobile-network-codes-country-co...</a></p>
<p>Hola:</p><p>Estoy intentando activar el Whatsapp en mi RPI, pero quiero usar un n&uacute;mero virtual. La pregunta es: el mcc y el mnc deben ser del pa&iacute;s del n&uacute;mero virtual o puedo usar el de mi pa&iacute;s de origen? En este caso use la aplicaci&oacute;n Talk2</p><p>Saludos,</p>
<p>hola soy de panama e trabajado en proyectos con esta libreria , puedes encontrarlos en jadasupport.wordpress.com </p><p>me puedes contactar en el blog </p><p>saludos </p>
<p>Everything worked fine but when I tried in executing yowsup demo command, it threw up the following error. Please help.</p><p>yowsup $ yowsup-cli demos --yowsup --config config</p><p>Traceback (most recent call last):</p><p> File &quot;/usr/local/bin/yowsup-cli&quot;, line 4, in &lt;module&gt;</p><p> __import__('pkg_resources').run_script('yowsup2==2.5.0', 'yowsup-cli')</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2876, in &lt;module&gt;</p><p> working_set = WorkingSet._build_master()</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 449, in _build_master</p><p> ws.require(__requires__)</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 745, in require</p><p> needed = self.resolve(parse_requirements(requirements))</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 645, in resolve</p><p> requirements.extend(dist.requires(req.extras)[::-1])</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2401, in requires</p><p> dm = self._dep_map</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2386, in _dep_map</p><p> for extra, reqs in split_sections(self._get_metadata(name)):</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2841, in split_sections</p><p> for line in yield_lines(s):</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2078, in yield_lines</p><p> for ss in strs:</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 2415, in _get_metadata</p><p> for line in self.get_metadata_lines(name):</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1413, in get_metadata_lines</p><p> return yield_lines(self.get_metadata(name))</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1405, in get_metadata</p><p> return self._get(self._fn(self.egg_info, name))</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1514, in _get</p><p> with open(path, 'rb') as stream:</p><p>IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/protobuf-3.0.0b3-py2.7.egg/EGG-INFO/requires.txt'</p>
First you need to run &quot;sudo pip install --upgrade six&quot;<br>then &quot;sudo yowsup-cli demos --yowsup --config config&quot; this got me through
<p>Hello</p><p>As a new genre pw using the new version of wart.exe.</p><p>Help'm new at this.</p><p>regards</p>
<p>Hi....Any one implemented successful in ur application, because frequently i am getting Not-Authorized error, i tried different numbers, message has sent successfully, but immediately im getting not-authorized error......</p><p>Pls Help.....</p>
<p>I have a problem with yowsup-cli - the symptoms are :</p><p>===</p><div>/home/pi/semafor/1_sem.js:452<p> if ( err ) throw err ;</p><p> ^</p><p>Error: process exited with code 1</p><p> at terminateIfNeeded (/home/pi/semafor/node_modules/python-shell/index.js:100:23)</p><p> at ChildProcess.&lt;anonymous&gt; (/home/pi/semafor/node_modules/python-shell/index.js:88:9)</p><p> at emitTwo (events.js:100:13)</p><p> at ChildProcess.emit (events.js:185:7)</p><p> at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)</p><p>===</p><p>I am calling yowsup-cli from node, with this code :</p><p>===</p><div>app.post( '/enviar_msg_whatsapp/ParamTfNum=:req_tf_num', function (req, res) {<p> var WhatsApp_Tf_Number = req.params.req_tf_num ;</p><p> console.log( '&gt;&gt;&gt; Menu enviar msg WhatsApp via python. Tf param is (' + WhatsApp_Tf_Number + '). ' ) ;</p><p>var python_options = {</p><p> mode: 'text',</p><p> pythonPath: '/usr/bin/python',</p><p> pythonOptions: ['-u'],</p><p> scriptPath: '/usr/local/bin',</p><p> args: ['demos --debug -c /usr/local/bin/mydetails -s 34666777888 SEMnodeMsg']</p><p>} ;</p><p> PythonShell.run( '../../../usr/local/bin/yowsup-cli', function( err, results ) {</p><p> if ( err ) throw err ;</p><p> console.log( '(+) Snd WhatsApp Python results are (%j).', results ) ; // results is an array consisting of messages collected during execution</p><p> var sndRC = String( results ) ; </p><p> szResultat = '+++ whatsapp msg sent. RC ('+ sndRC + ').' ;</p><p> res.status( 200 ).send( szResultat ) ;</p><p> } ) ; // run</p><p>} ) ; // enviar mensage whatsapp</p><p>===</p><p>Thanks for any clue.</p></div></div>
<p>I see that it charges 0.89, will it charge every time you send a message, or only once?</p>
<p>Works great! Be a little patient on Pi1 as building takes 15 min's (walk the dog, grab a coffee) and the console will appear dead (run &quot;top&quot; in a second terminal session to see what's going on and see cc1 eating all the processing capacity). </p><p>Had to upgrade six 1.8 on my machine to &gt;= 1.9 by:</p><p>sudo apt-get install python-pip (if you're on python 2.7)<br>sudo pip install --upgrade six<br>...which upgrades six to 1.10. Ran installer again, now without complaints.</p>
<p>Hello Guys,</p><p>i want to use yowsup to answer with a fixed type of text when a fixed message gets in.</p><p>For example: I send &quot;Hello&quot; to yowsup and it responds with &quot;Hello You&quot;.</p><p>The Problem is that it should only response by &quot;Hello&quot; and not when &quot;Hello&quot; is written in a long text.</p><p>Can you give me a example?</p><p>I have no experience with python...</p>
<p>Hi, I manage to send a message over. Before typing the message send command, I first had to type &quot;/L&quot; without quotes to login, and then type the message send command to send it to your friend's number. I did it through bash command line.</p>
<p>I did not use RPI. Just ran an instance of yowsup client via Git Bash CLI.</p>
<p>Hi ,</p><p>I am having a problem while requesting code, after requesting for code it says status:fail</p><p>retry_after: 3600</p><p>reason: no_routes</p>
<p>did u input the correct mcc and mnc values from your country and telecom service provider?</p>
Yes those are correct but not sure because of some issue it didnt worked out for me. But I am able to test my account using below link https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getMe which has to be replaced with your own token
<p>u need to add a config file in yowsup directory. that file contains the pwd generated from the previous command.</p>
<p>i didnt use rpi. i just use git bash command line. i only can send message to 1 of my friend, but unable to broadcast to many friends.</p>
<p>Hello, i have a problem, please help me:</p><p>sudo yowsup-cli demos --yowsup --config config</p><p>yowsup-cli v2.0.15</p><p>yowsup v2.4.103</p><p>Copyright (c) 2012-2016 Tarek Galal</p><p>http://www.openwhatsapp.org</p><p>This software is provided free of charge. Copying and redistribution is</p><p>encouraged.</p><p>If you appreciate this software and you would like to support future</p><p>development please consider donating:</p><p>http://openwhatsapp.org/yowsup/donate</p><p>Yowsup Cli client</p><p>==================</p><p>Type /help for available commands</p><p>[offline]:/L</p><p>Auth: Logged in!</p><p>[connected]:Traceback (most recent call last):</p><p> File &quot;/usr/local/bin/yowsup-cli&quot;, line 5, in &lt;module&gt;</p><p> pkg_resources.run_script('yowsup2==2.4.103', 'yowsup-cli')</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 499, in run_script</p><p> self.require(requires)[0].run_script(script_name, ns)</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1235, in run_script</p><p> execfile(script_filename, namespace, namespace)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 368, in &lt;module&gt;</p><p> if not parser.process():</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 268, in process</p><p> self.startCmdline()</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 297, in startCmdline</p><p> stack.start()</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/demos/cli/stack.py&quot;, line 25, in start</p><p> self.stack.loop(timeout = 0.5, discrete = 0.5)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/stacks/yowstack.py&quot;, line 187, in loop</p><p> asyncore.loop(*args, **kwargs)</p><p> File &quot;/usr/lib/python2.7/asyncore.py&quot;, line 216, in loop</p><p> poll_fun(timeout, map)</p><p> File &quot;/usr/lib/python2.7/asyncore.py&quot;, line 201, in poll2</p><p> readwrite(obj, flags)</p><p> File &quot;/usr/lib/python2.7/asyncore.py&quot;, line 123, in readwrite</p><p> obj.handle_error()</p><p> File &quot;/usr/lib/python2.7/asyncore.py&quot;, line 108, in readwrite</p><p> obj.handle_read_event()</p><p> File &quot;/usr/lib/python2.7/asyncore.py&quot;, line 449, in handle_read_event</p><p> self.handle_read()</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/network/layer.py&quot;, line 88, in handle_read</p><p> self.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/network/layer.py&quot;, line 96, in receive</p><p> self.toUpper(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/__init__.py&quot;, line 75, in toUpper</p><p> self.__upper.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/stanzaregulator/layer.py&quot;, line 29, in receive</p><p> self.processReceived()</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/stanzaregulator/layer.py&quot;, line 49, in processReceived</p><p> self.toUpper(oneMessageData)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/__init__.py&quot;, line 75, in toUpper</p><p> self.__upper.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/auth/layer_crypt.py&quot;, line 65, in receive</p><p> self.toUpper(payload)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/__init__.py&quot;, line 75, in toUpper</p><p> self.__upper.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/coder/layer.py&quot;, line 35, in receive</p><p> self.toUpper(node)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/__init__.py&quot;, line 75, in toUpper</p><p> self.__upper.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/logger/layer.py&quot;, line 14, in receive</p><p> self.toUpper(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/__init__.py&quot;, line 75, in toUpper</p><p> self.__upper.receive(data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/layer.py&quot;, line 124, in receive</p><p> self.onMessage(protocolTreeNode)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/layer.py&quot;, line 146, in onMessage</p><p> self.handleEncMessage(protocolTreeNode)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/layer.py&quot;, line 231, in handleEncMessage</p><p> self.handleWhisperMessage(node)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/layer.py&quot;, line 277, in handleWhisperMessage</p><p> encMessageProtocolEntity = EncryptedMessageProtocolEntity.fromProtocolTreeNode(node)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/protocolentities/message_encrypted.py&quot;, line 53, in fromProtocolTreeNode</p><p> encNode.data.encode('latin-1') if sys.version_info &gt;= (3,0) else encNode.data)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.103-py2.7.egg/yowsup/layers/axolotl/protocolentities/message_encrypted.py&quot;, line 24, in setEncProps</p><p> assert encType in &quot;pkmsg&quot;, &quot;msg&quot;</p><p>AssertionError: msg</p><p>Do you have an idea?</p>
<p>whatsapp messages are already encrypted and does not work :(</p>
<p>Continuas con el problema? He intentado todo pero sigue sin funcionar. Creo que si tiene que ver con la encriptacion. Has podido realizar algo? esto me tiene loco</p>
Lo que hice fue regresarme a una versi&oacute;n anterior de whatsapp y si me funciono suerte.
<p>Te regresaste a la version anterior en el cel? a que version regresaste. no he podido en serio. Me podrias colaborar. lo agradeceria mucho</p>
<p>&iquest;Cual es el error que te marca CesarM26? Yo lo instal&eacute; y todo muy bien, solo ten&iacute;a un problema pero lo solucion&eacute;, as&iacute; que si es el mismo problema yo te puedo ayudar. Saludos.</p>
<p>Ya funciona. Solo volvi a instalar y listo. lo que si me sucedio es que lo intente usar al tiempo en dos Raspberry y whatsapp lo bloqueo. al parecer. solo se debera usar en uno solo al tiempo y cuando quiera cambiarlo, toca volver a solicitar el registro para que whatsapp no muestre actividad sospechosa y lo bloquee. es bueno para que lo tengan en cuenta.</p>
Hola amigo no tuviste problemas con la encriptacion de los mensajes? Es que a mi lo que me paso fue eso de que whatsapp actualizo y ya sus mensajes esta encriptados y tuve que poner una versi&oacute;n antigua de whatsapp en mi android para que volviera a reconocer los comandos.
<p>No tuve inconveniente con la encriptacion. Luego de reinstalar, en la raspberry funciono sin problemas. no requiero de un dispositivo movil para usarlo. Ahora el inconveniente que tengo es poder enviar imagenes. </p>
<p>Requiero ayuda con lo siguiente. Necesito crear una alerta por medio de una imagen. En estos momentos puedo hacer el envio de mensajes dentro de la consola. cuando ingreso a: &quot;yowsup-cli demos -c config -y&quot; utilizando /image send &lt;numero&gt;&lt;ruta_imagen&gt;.</p><p>Pero quisiera que se pudiera enviar la imagen por medio de una sola instruccion como se hace con los mensajes: &quot;yowsup-cli demos -c config -s 57xxxxxxxxxx &lt;mensaje&gt;&quot;</p><p>Alguien que me pueda dar una luz. la verdad por mas que intento mirar el codigo, no se como podria hacer.</p>
<p>can't connect after login</p><p>[offline]:/L</p><p>general: Login Failed, reason: not-authorized</p><p>Auth Error, reason not-authorized</p>
<p>use WART.exe <a href="https://github.com/mgp25/WART/blob/master/WART.exe" rel="nofollow">https://github.com/mgp25/WART/blob/master/WART.exe</a><br>register again! get the second password ;)<br>(update your password in zap.conf)</p><p>yowsup-cli demos --yowsup --config zap.conf </p>
<p>i use WART to register but...</p><p>[offline]: /L</p><p>general:Disconnected:Connection Closed</p><p>[offline]:</p><div>please help me :( </div>
<p>Si mal no recuerdo, tu error es que registraste mal tu n&uacute;mero.</p>
<p>same</p>
<p>Is it free to message anybody???</p>
<p><a href="https://github.com/mgp25/WART/blob/master/WART.exe" rel="nofollow">https://github.com/mgp25/WART/blob/master/WART.exe...</a> -&gt; clic RAW, <br>download, open WART.exe<br>WART - Step1<br>phonenumber ccXXXXXXXXXX<br>click on Request Code, after recieve<br>WART - Step 2<br>Code: your sms XXXXXX (without &quot;-&quot;)<br>and click to confirm code<br>WART - Step 3<br>Copy your password text.</p>
<p>ok so now i have a new problem -_-</p><p>sudo yowsup-cli demos --yowsup --config config</p><p>Traceback (most recent call last):</p><p>File &quot;/usr/local/bin/yowsup-cli&quot;, line 4, in &lt;module&gt;</p><p> __import__('pkg_resources').run_script('yowsup2==2.4.48', 'yowsup-cli')</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 534, in run_script</p><p> self.require(requires)[0].run_script(script_name, ns)</p><p> File &quot;/usr/lib/python2.7/dist-packages/pkg_resources.py&quot;, line 1445, in run_script</p><p> exec(script_code, namespace, namespace)</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.48-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 323, in &lt;module&gt;</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.48-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 227, in process</p><p> File &quot;/usr/local/lib/python2.7/dist-packages/yowsup2-2.4.48-py2.7.egg/EGG-INFO/scripts/yowsup-cli&quot;, line 254, in startCmdline</p><p> File &quot;build/bdist.linux-armv7l/egg/yowsup/demos/cli/stack.py&quot;, line 18, in __init__</p><p> File &quot;build/bdist.linux-armv7l/egg/yowsup/stacks/yowstack.py&quot;, line 155, in setCredentials</p><p> File &quot;build/bdist.linux-armv7l/egg/yowsup/layers/auth/layer_interface_authentication.py&quot;, line 5, in setCredentials</p><p> File &quot;build/bdist.linux-armv7l/egg/yowsup/layers/auth/layer_authentication.py&quot;, line 42, in setCredentials</p><p> File &quot;build/bdist.linux-armv7l/egg/yowsup/layers/auth/layer_authentication.py&quot;, line 37, in __getCredentials</p><p> File &quot;/usr/lib/python2.7/base64.py&quot;, line 76, in b64decode</p><p> raise TypeError(msg)</p><p>TypeError: Incorrect padding</p>
<p>how do i run the program once installed?</p>
<p>ok i have a problem i actually have 2 when i request the sms all i get is </p><p>Available commands:</p><p>================</p><p>demos,version, registration</p><p>does anyone know whats wrong?<br></p><p>i also forgot the pw is thier a way to get a new one?</p>
<p>Hi, I'm using my Raspberry Pi 2 over the internet, on a Remote Desktop Connection setup. I have followed these steps and have received my registration code and everything but when I try to login, with my phone number and password in the file as typed on the tutorial, but when I type /L in the Yowsup terminal it says &quot;Permission Denied&quot; well not that but along those lines. How can I fix this?</p>

About This Instructable

218,358views

240favorites

License:

More by emmeshop:Roast Coffee With Artisan and Phidgets Raspberry datalogger with Mysql Highcharts  Remote control with Raspberry Pi and Phidget WebService 
Add instructable to: