Use yowsup Library and Android APP at same time
Sorry all,
but i have a question can i use this library and at same time use whatsapp from my android without problem?
If the answer is yes, when i receive a message i read the message from both PC and Android APP?
THANKS.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
you cant.
You could in reality, but you would need to set the same password to both the device and the PC to auth whatsapp.
@AntonioL dont lie peoples.
Thanks!
Sorry, but is the first time, i'm trying to use yowsup Library, another question what do you mean for "password"....?
snce v2 password generated on server side and you can't use same login on official whatsapp client and yowsup.
@CODeRUS what I meant is, you get the password the first time then you say to both the client and yowsup to use that. And yes it is possible ;)
how??
On Sat, Jan 26, 2013 at 2:12 AM, AntonioL [email protected] wrote:
@CODeRUS https://github.com/CODeRUS what I meant is, you get the password the first time then you say to both the client and yowsup to use that. And yes it is possible ;)
— Reply to this email directly or view it on GitHubhttps://github.com/tgalal/yowsup/issues/71#issuecomment-12719816.
If you decide to use the password set on the phone, you should find out what is (it is stored in a sqlite db file) and then write that in the config file of yowsup
then u can send unlimited msgs ??
On Sat, Jan 26, 2013 at 2:16 AM, AntonioL [email protected] wrote:
If you decide to use the password set on the phone, you should find out what is (it is stored in a sqlite db file) and then write that in the config file of yowsup
— Reply to this email directly or view it on GitHubhttps://github.com/tgalal/yowsup/issues/71#issuecomment-12719995.
We were talking about using the same account for both yowsup and the official client. It is possible you should generate the password first time and find out what it is and then you write accordingly the config file.
ohh ok thanks
On Sat, Jan 26, 2013 at 2:20 AM, AntonioL [email protected] wrote:
We were talking about using the same account for both yowsup and the official client. It is possible you should generate the password first time and find out what it is and then you write accordingly the config file.
— Reply to this email directly or view it on GitHubhttps://github.com/tgalal/yowsup/issues/71#issuecomment-12720191.
@AntonioL I understand the principle of taking the password from the client. But can you explain how to do it? Try to be more specific...
We were talking about using the same account for both yowsup and the official client. It is possible you should generate the password first time and find out what it is and then you write accordingly the config file.
WTF?
I think I've been clear, so this will be my last time I write about the subject. It is possible if you make sure both Android client and yowsup use the same password.
First you generate a password and then you fetch that and say to the other to use that.
I think being more clearer is impossible, this is an Issue Tracker, not a forum, I gave input, do your research.
Best Regards
@AntonioL I understand the principle of taking the password from the client. But can you explain how to do it? Try to be more specific...
+1
@AntonioL : a man has to be accountable for his words. If you complain about what is being requested, you should rethink about what the heck are you doing here.
There is no colder thing that a piece of advice which application is impossible ~ Confucious
just sayin'..
PS: I know that reverse engineering / forensics / sniffers exist, but please, don't be so pedantic assuming everyone does. at least, point to an article that explains how to do it. there are one or two over there... :)
WhatsApp uses single sign-on, so they will both keep signing in and it will be a tug of war between your Android client and Desktop client on who will receive the messages first.
Been there, done that (in the past). You will also appear to be blinking online/offline several times a second, which can be confusing for your friends :')
@AntonioL: Any chance one could continue this discussion in some kind of forum?
I'd like to use the password from my phone, too, in order to send messages from my workstation. I documented what I found out so far (albeit in German) on the following page:
http://www.android-hilfe.de/whatsapp/373702-whatsapp-passwort.html
Ok, I tried to do what's in there ... So I took Android with whatsapp client and i register with my number, after that I installed file explorer on my android and i went to: "/data/data/com.whatsapp/files/pw" (* the android must be rooted so that you can get to this path...) i take this file to my pc (share with email, dropbox ect...) i run this code:
import java.io.FileInputStream; import java.io.ObjectInputStream; import java.io.Serializable;
public class DecodeByteArray { public static void main(String[] args) throws Exception { ObjectInputStream in = new ObjectInputStream(new FileInputStream("pw")); byte[] array = (byte[]) in.readObject(); in.close();
System.out.printf("Contents: %02X", array[0]);
for (int i=1; i<array.length; i++) {
System.out.printf("%02X", array[i]);
}
System.out.println();
}
}
and i get a output this: 0001F05DC538CADB76759252A49466577C962A6FD431F39F824B491AEA5CFC28DF06D12ECB1C5BC807FC now, i dont know what i need to do with this... any suggestions?
Try taking the raw byte array (not hex encoded) and base64 encode it to make it more readable. Then put the base64 encoded string in your config file and try to log in.
I personally don't think that it will be that easy and that the password is somehow encrypted..
that what i get :AAHwXcU4ytt2dZJSpJRmV3yWKm/UMfOfgktJGupc/CjfBtEuyxxbyAf8 its still not look like whatsapp password...