tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.03k stars 2.23k forks source link

how to start? #2537

Closed wz343450860 closed 5 years ago

wz343450860 commented 6 years ago

Hi, I have registered a phonenum via yowsup-cli and get the base64 password, I want to know how to start the app? such as send a mesage to someone , could you give me some demos?

thanks

wz343450860 commented 6 years ago

Hi, I execute the command 'yowsup-cli demos -l phonenum:base64password | -c ./newconfig -E {android,s40} -M' it returns '''-bash: -c: command not found Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='ANSI_X3.4-1968'> BrokenPipeError: [Errno 32] Broken pipe''' could you tell me how can I login and start the app?

wz343450860 commented 6 years ago

Hi ,
I also tried pywhatsapp ''' from whatsapp import Client phone_to = "ccxxxxxxxxx" client = Client(login='cc_myphone', password='secretpasswordbase64') client.send_message(phone_to, 'Hello ')'''

But this still renturn '''yowsup.layers.auth.autherror.AuthError: not-authorized''', how can I start the yowsup ? please help me , thanks