Saturday 27 December 2014

Install whatsap on ubuntu


While I would recommend you to simply go for Viber instead, because it’s available for all operating systems; Here’s how to do it for whatsapp. However, if the same number is registered to two devices, Whatsapp doesn’t like you accessing both simultaneously. I’ve read, one at a time works fine.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sudo apt-get install python python-dateutil python-argparse
sudo wget https://github.com/tgalal/yowsup/archive/master.zip
sudo unzip master.zip
cd yowsup-master/src
cp config.example yowsup-cli.config
vi yowsup-cli.config #(Write the following according to you)
#cc=34
#phone=34123456789 #(Phone number with country code)
#id=
#password=
chmod +x yowsup-cli
./yowsup-cli --requestcode sms --config yowsup-cli.config
#status: sent
#retry_after: 3605
#length: 6
#method: sms
You will receive an sms with a code on the above written mobile number. Use that in the next request.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
./yowsup-cli --register 123-456 --config yowsup-cli.config (replace 123-456 with the code)
#status: ok
#kind: free
#pw: S1nBGCvZhb6TBQrbm2sQCfSLkXM=
#price: 0,89
#price_expiration: 1362803446
#currency: EUR
#cost: 0.89
#expiration: 1391344106
#login: 34123456789
#type: new
cat yowsup-cli.config
cc=34
phone=34123456789
id=
password=S1nBGCvZhb6TBQrbm2sQCfSLkXM=
If you don’t have pidgin, install it (From software center or by sudo apt-get install pidgin in terminal) Now open a terminal and write
1
2
3
sudo add-apt-repository ppa:whatsapp-purple/ppa
sudo apt-get update
sudo apt-get install pidgin-whatsapp
Now simply launch Pidgin. Add a whatsapp account, put username as the phone number with country code ( as written above) and password as the string we obtained earlier. Use whatsapp on your laptop. (PS- Don’t use it simultaneously on your mobile) Better still, use viber, and ask your friends to do the same! : it has a desktop client. Credits for this : http://hacktracking.blogspot.com.ar/2013/02/yowsup-cli-send-whatsapp-messages-from.html https://launchpad.net/~whatsapp-purple/+archive/ppa
Edit : If you’re having trouble registering the number on whatsapp, you can use this service here.

Update : The latest update to whatsapp has broken the functioning of the yow-sup api used here.
The issues have been created and developers are working on it. Hopefully it will be sorted soon, but till then, all we can do is wait.

0 comments:

Post a Comment