Installation and configuration
# apt-get install python python-dateutil python-argparse
# wget https://github.com/tgalal/yowsup/archive/master.zip
# unzip master.zip
# cd yowsup-master/src
# cp config.example yowsup-cli.config
# cat yowsup-cli.config
# chmod +x yowsup-cli
# ./yowsup-cli --requestcode sms --config yowsup-cli.config
# ./yowsup-cli --register 123-456 --config yowsup-cli.config
# cat yowsup-cli.config
Send a message
# ./yowsup-cli --send 34111222333 "Test message" --wait --config yowsup-cli.config
Receive messages
# ./yowsup-cli --listen --autoack --keepalive --config yowsup-cli.config
Interactive: Send and receive messages
# ./yowsup-cli --interactive 34111222333 --wait --autoack --keepalive --config yowsup-cli.config
/unavailable
References
https://github.com/tgalal/yowsup
http://www.fonyou.es
No comments:
Post a Comment