send whatsapp messages using WhatsappAPI in c#

亡梦爱人 提交于 2019-12-06 13:02:16

Before all, you should prepare a new number that not registered in whatsapp, and then do following steps to get password.

string password ;
string number = "xxxx";
WhatsAppApi.Register.WhatsRegisterV2.RequestCode(number , out password); 
//you will recieve a sms, use it to get password  
string password =WhatsAppApi.Register.WhatsRegisterV2.RegisterCode(number ,"code from sms");

And the config of library is old, you should do a new configuration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!