joaoricardo000 / whatsapp-bot-seed

A small python framework to create a whatsapp bot, with regex-callback message routing.
730 stars 243 forks source link

how i get password? #98

Closed fynnsh closed 4 years ago

ghost commented 7 years ago

File: config.py

Credentials to connect on Whatsapp Servers.
(phone number, whatsapp key)
To extract key use the yowsup-cli (using a python venv with yowsup installed):
> yowsup-cli registration -C <CountryCode> -r sms -p <Phone Number with Country Code>
ex.:
yowsup-cli registration -C 55 -r sms -p 554899998888
Then whatsapp will send a key via sms to the phone.
Get that key then run:
> yowsup-cli registration -C 55 -R <sms-key> -p 554899998888
status: ok
kind: free
> pw: njH+QGBqGXXXXXXXOFa+Wth5riM=
price: US$0.99
price_expiration: 1444272405
currency: USD
cost: 0.99
> login: 554899998888
type: existing
expiration: 1472404969
Now just get the login and pw, and replace bellow.
fynnsh commented 7 years ago

help ;(

https://img.byel.de/f7f9abf89249be2831f192d2bf8933d5.png

abdhan commented 7 years ago

You probably have to change the env. And no guarantee that will work.

fynnsh commented 7 years ago

what do you mean with env? sorry newbie

abdhan commented 7 years ago

No problem. Please read this https://github.com/tgalal/yowsup/issues/1952 . I have not used this recently though.