Friday 9 June 2017

Send a whatsapp message via NodeJS

Old question. I know.
I also understand that it's illegal. I tried this solution: https://github.com/cmeon/node-wa but I am stuck with this message:

    > *** constructing waApi for 33XXXXXXXX: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    *** socket connected writing buffer of size 25 x  |iPhone-2.8.2-5222 writing features:<stream:features>
        <receipt_acks>
        </receipt_acks>
        <status>
        </status> </stream:features>

    writing buffer of size 11

    xxx~x sending auth:<auth mechanism="DIGEST-MD5-1" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> </auth>

    writing buffer of size 7 xZ*=' 
(node:43249) DeprecationWarning: Calling an asynchronous function without callback is deprecated. 
(node:43249) DeprecationWarning: Calling an asynchronous function without callback is deprecated. 
(node:43249) DeprecationWarning: Calling an asynchronous function without callback is deprecated. 
(node:43249) DeprecationWarning: Calling an asynchronous function without callback is deprecated. (node:43249) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
    ***************** SOCKET CLOSED ******************* false

the other option i found is www.whatsmate.net, any recommandation ?



via SamiX

No comments:

Post a Comment