yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Registration

Open wokora opened this issue 13 years ago • 30 comments

Am trying to register and am getting this error - fail_reason : too many - what could be the reason? or what does it mean?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

wokora avatar Jun 21 '13 20:06 wokora

too many what?

shirioko avatar Jun 21 '13 21:06 shirioko

attempts, obliviously. try again tomorrow.

CODeRUS avatar Jun 22 '13 02:06 CODeRUS

Shirioko thats all it says

Coderus thanks ill try tomorrow...

wokora avatar Jun 22 '13 18:06 wokora

I can't get it to work, the sms never arrives :(

NeoGeneration avatar Jun 24 '13 08:06 NeoGeneration

https://github.com/tgalal/yowsup/pull/133

And this https://github.com/tgalal/yowsup/issues/135

shirioko avatar Jun 24 '13 08:06 shirioko

It never worked...

wokora avatar Jun 25 '13 16:06 wokora

Yes it does. Update your user agent and token.

shirioko avatar Jun 25 '13 18:06 shirioko

@shirioko I am facing the issue now. No SMS arrives. I have updated the agents and tokens. I believe that the version was changed on July 9th.

rohithn avatar Jul 09 '13 12:07 rohithn

http://www.windowsphone.com/nl-nl/store/app/whatsapp/218a0ebb-1585-4c7e-a9ec-054cf4569a79 WhatsApp version for Windows Phone is still 2.9.4.0 so it should work.

shirioko avatar Jul 09 '13 12:07 shirioko

@shirioko whatsapp probably changed something , from today this combination is not working, i tried both new nokia and htc version+ token combination

brittson avatar Jul 10 '13 13:07 brittson

Haha well this is odd!

Array
(
    [cc] => 352
    [in] => 66********
    [lc] => US
    [lg] => en
    [mcc] => 000
    [mnc] => 000
    [method] => sms
    [id] => 1503**********************************
    [token] => 753785b*****************************d8
    [c] => cookie
)
stdClass Object
(
    [status] => ok
    [login] => 3526**********
    [pw] => 0DS*****************************m9I=
    [type] => existing
    [expiration] => 4444444444
    [kind] => free
    [price] => 0,89 €
    [cost] => 0.89
    [currency] => EUR
    [price_expiration] => 1376432026
)

code request seems to react as v2/exist check when phone number and identity are already registered and match

Tried requesting an SMS code and haven't received anything yet

shirioko avatar Jul 10 '13 14:07 shirioko

Look what I shamelessly ripped from this repository: https://github.com/karolsarnacki/whatsapp/commit/55d8233b852ecd9f6a6f845586e91e6fadbd0c44#L1L20 I've tested it last week and it worked

UserAgent = "WhatsApp/2.10.750 Android/4.2.1 Device/GalaxyS3";
Key = '30820332308202f0a00302010202044c2536a4300b06072a8648ce3804030500307c310b3009060355040613025553311330110603550408130a43616c69666f726e6961311430120603550407130b53616e746120436c61726131163014060355040a130d576861747341707020496e632e31143012060355040b130b456e67696e656572696e67311430120603550403130b427269616e204163746f6e301e170d3130303632353233303731365a170d3434303231353233303731365a307c310b3009060355040613025553311330110603550408130a43616c69666f726e6961311430120603550407130b53616e746120436c61726131163014060355040a130d576861747341707020496e632e31143012060355040b130b456e67696e656572696e67311430120603550403130b427269616e204163746f6e308201b83082012c06072a8648ce3804013082011f02818100fd7f53811d75122952df4a9c2eece4e7f611b7523cef4400c31e3f80b6512669455d402251fb593d8d58fabfc5f5ba30f6cb9b556cd7813b801d346ff26660b76b9950a5a49f9fe8047b1022c24fbba9d7feb7c61bf83b57e7c6a8a6150f04fb83f6d3c51ec3023554135a169132f675f3ae2b61d72aeff22203199dd14801c70215009760508f15230bccb292b982a2eb840bf0581cf502818100f7e1a085d69b3ddecbbcab5c36b857b97994afbbfa3aea82f9574c0b3d0782675159578ebad4594fe67107108180b449167123e84c281613b7cf09328cc8a6e13c167a8b547c8d28e0a3ae1e2bb3a675916ea37f0bfa213562f1fb627a01243bcca4f1bea8519089a883dfe15ae59f06928b665e807b552564014c3bfecf492a0381850002818100d1198b4b81687bcf246d41a8a725f0a989a51bce326e84c828e1f556648bd71da487054d6de70fff4b49432b6862aa48fc2a93161b2c15a2ff5e671672dfb576e9d12aaff7369b9a99d04fb29d2bbbb2a503ee41b1ff37887064f41fe2805609063500a8e547349282d15981cdb58a08bede51dd7e9867295b3dfb45ffc6b259300b06072a8648ce3804030500032f00302c021400a602a7477acf841077237be090df436582ca2f0214350ce0268d07e71e55774ab4eacd4d071cd1efad';
Token = '022e923a364bfacff3a80de3f950b1e0';

EDIT: Yep this one works :) Don't forget to give this guy credit: https://github.com/karolsarnacki

shirioko avatar Jul 10 '13 14:07 shirioko

awesome! it works.. thanks!

rohithn avatar Jul 11 '13 04:07 rohithn

@shirioko @rohithn Hi, the fix in #133 required an addition to the UserAgents array in warequest.py which I made and it worked for me on Tuesday. Is this the same place to add the key and token you have given? If so

  1. in the previous entries, which is the key and which is the token?
  2. Is the {phone} suffix part of the key/token
  3. The key is significantly longer than any other previous entries?

Any assistance would be greatly appreciated, Thanks

PSaico avatar Jul 11 '13 13:07 PSaico

yes 1)

("WhatsApp/2.4.22 S40Version/14.26 Device/Nokia302",
                "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk" + "1366850357035{phone}")

PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk is the key 1366850357035 is the token 2) No, it's a formatting placeholder. Add it at the end of token 3) That's right.

shirioko avatar Jul 11 '13 14:07 shirioko

Wow, thanks for the speedy response! It worked, thanks!

I tried registering a second number using the same phone to retrieve the sms but the sms did not come through. Is there a limit on how many requests a single device can make? I see phones have a thing called an IMEI number, is this the only unique identifier?

PSaico avatar Jul 11 '13 14:07 PSaico

SAY IMEI ONE MORE GODDAMN TIME!

WHAT

IMEI code hasn't been used by WhatsApp for identity generation for quite a while now. There shouldn't be a limit per device though, the new identity generation also includes the phone number, so registering a new number will generate a different identity.

shirioko avatar Jul 11 '13 14:07 shirioko

Haha :P Thanks for all the info @shirioko , much appreciated

PSaico avatar Jul 11 '13 16:07 PSaico

Thanks, this works for the sms request, but does not register after

C:\yowsup-master\src>yowsup-cli.py -c config -R xxxxxx Detected cc: 34 status: fail reason: missing

C:\yowsup-master\src>yowsup-cli.py -c config -R xxxxxx Detected cc: 34 Traceback (most recent call last): File "C:\yowsup-master\src\yowsup-cli.py", line 290, in print(resultToString(result)) File "C:\Python27\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u20ac' in position 67: character maps to

How do I register and get the password?

Jeronimo17 avatar Jul 15 '13 22:07 Jeronimo17

I have achieved everything with WhatsAPI

Jeronimo17 avatar Jul 16 '13 21:07 Jeronimo17