Skip to content
krishnangovindraj edited this page Jun 19, 2014 · 3 revisions

Requirements:

Software

Python 2.7 ( haven't tested it on other versions ) MySQL server

Python dependencies ( ? )

MySQLdb

Other code needed

Tgalal's Yowsup Library: https://github.com/tgalal/yowsup The Yowsup folder must be pasted into the root of webwhatsapp

Set up

  1. Launch MySQL, Import the database schema from webwhatsapp.sql to a database named webwhatsapp. /path/to/mysql/bin$ mysql < /path/to/webwhatsapp.sql
  2. Edit Config.py to change the mysql authentication fields ( Config.mysql_ )
  3. Commandline, Add a user from commandline /path/to/webwhatsapp$ py adduser.py -n [NAME] -e [EMAIL] -f [PHONE] -p [PASS] -w [WHATSAPP_PASSWORD] ( See "Getting your password" section below ) (The password should be in what i think is base64 format, The kind you get from WART ( see below ) )
  4. Commandline: /path/to/webwhatsapp$ py wsgi.py

Getting your password

From phone: https://github.com/tgalal/yowsup/issues/234 ( haven't tried, No phone. Please update this if you find a better method.

No phone / Need to register new account? Use WART: https://github.com/shirioko/WART ( Using wart will reset your password. Do NOT use it if you have the same number running on your phone. )