venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.14k forks source link

Error: Login Failure #886

Open guidox96 opened 10 years ago

guidox96 commented 10 years ago

I used WART for register a number(not already registered) on whatsapp, then into "whatsapp.php" I wrote:

$config['GuidoxBot'] = array( 'id' => '%ef%a5f%60%f8**e%fc%91qq%ae%fa', 'fromNumber' => '3*****4', 'nick' => "BotGuidox", 'waPassword' => "WnCOqz****7IsngdNi/M=", 'email' => '', 'emailPassword' => '' );

But when I open the page and I select "GuidoxBot", this error appears: "Error: Login Failure".

Where I have been wrong?

mgp25 commented 10 years ago

Full number with country code in 'fromNumber'?

guidox96 commented 10 years ago

I think so... My prefix(italian) is "39", without "00" or "+", right?

mgp25 commented 10 years ago

yes, without '00' or '+'. Just a question, that error is when you enter to whatsapp.php (there is a password to access) is that password?

guidox96 commented 10 years ago

When I select my account in "from", after a load, this is displayed: http://giochiphp.altervista.org/uploader/file/errorefailure.png

pedrobr commented 9 years ago

Hi, I have the same issue. I've browsed so many forums and yet cant find a solution. @mgp25 Do you have any insight? Please help me.

By using the Wart method, I get a working password which I know works because I can get it working with Pidgin whatsapp messenger, but not on WhatsAPI.

I get the same exact Error: Login Failre that @guidox96 gets as can be seen on his image file above.

I am on Windows 8.1, and have Wamp running. I execute the code on chrome (also tried IE).

I use (minus the hidden for web) on whatsapp.php:

$config['Pedro'] = array( 'id' => '%c5(hidden for web)7%08', 'fromNumber' => '55119(hidden for web)', 'nick' => "YOURNICKNAME", 'waPassword' => "S+RUB(hidden for web)/4o=", 'email' => '', 'emailPassword' => ''

Thank you in advance.

pedrobr commented 9 years ago

ok, sorry for double post, found the problem. I was using the code from this API but its outdated. the updated code is in: https://github.com/mgp25/WhatsAPI-Official

I guess I was a bit confused with the similar names. Thanks!!