Raspberry-Pi-WhatsApp

Instalación yowsup


$ git clone https://github.com/tgalal/yowsup
$ cd yowsup
$ sudo python setup.py install

Registro


$  yowsup-cli registration --requestcode sms --phone 49XXXXXXXX --cc 49 --mcc 123 --mnc 456
$  yowsup-cli registration --register 123456* --phone 49XXXXXXXX --cc 49  

mcc y mnc, los puede consultar Aquí
  • Donde 123456, es el código que llega al celular en un mensaje de texto

Clonar el repositorio


$  git clone https://github.com/rpi-jefer/Raspberry-Pi-WhatsApp
$  cd Raspberry-Pi-WhatsApp

Modificar:

En run.py CREDENTIALS = ("phone", "password") #replace with your phone and password

Luego ejecutar

$ sudo python run.py

Plano