Friday, November 15, 2013

Using WhatApp Throught Pidgin (Expired)

Add WhatApp repo to your list

deb http://ppa.launchpad.net/whatsapp-purple/ppa/ubuntu quantal main
deb-src http://ppa.launchpad.net/whatsapp-purple/ppa/ubuntu quantal main


Update package:

sudo apt-get update

Install WhatApp pluggin:

sudo apt-get install pidgin-whatsapp

Or you can download manually the WhatsApp Plugin here:

http://web.davidgf.net/nightly/whatsapp-purple/
For 32bit choose 386 folder
For 64bit choose X64 folder


Copy files with extension .so to folder:

~/.purple/plugins/

Your pidgin should have been WhatsApp

Next, We use third party to get WhatApp username and password

# apt-get install python python-dateutil python-argparse
# wget https://github.com/tgalal/yowsup/archive/master.zip
# unzip master.zip
# cd yowsup-master/src
# cp config.example yowsup-cli.config


Edit yowsup-cli.config, cc = Your country code without (+), phone = your phone number with country code, id and password leave blank.

# vim yowsup-cli.config
cc=62
phone=628578945612
id=
password=


Change permission

# sudo chmod +x yowsup-cli

Request code

# ./yowsup-cli --requestcode sms --config yowsup-cli.config
status: sent
retry_after: 3605
length: 6
method: sms


Or you can request code via website

http://whitesoft.dyndns.org:2222/whatsapp_sms

After you receive an code, Then confirm your code. 123-456 is an code

# ./yowsup-cli --register 123-456 --config yowsup-cli.config
status: ok
kind: free
pw: S1nBGCvZhb6TBQrbm2sQCfSLkXM=
price: 0,89
price_expiration: 1362803446
currency: EUR
cost: 0.89
expiration: 1391344106
login: 628578945612
type: new


"login:" is your username. "pw:" is your password.
try to login via pidgin.

Note:
To avoid crashes on the client side, make your status to "away" do not use "available"crashes occur usually on android device.

0 comments:

Post a Comment