简体   繁体   English

从whatsapp发送自动消息

[英]Send Auto messages from whatsapp

I have More than 1000 Numbers in a data base.i need to send happy birthday message to the number if the user is using whatsapp. 我的数据库中有1000多个号码。如果用户使用whatsapp,我需要向该号码发送生日快乐消息。 Is this possible?i don't mind if i need to be pay or what..is it possible? 这可能吗?我不在乎我是否需要付款或有什么可能吗?

[deprecated] the best way is using : https://github.com/rquiroz/WhatsAPINet [不建议使用]最佳方法是使用: https : //github.com/rquiroz/WhatsAPINet

that´sa sample code 那是示例代码

   WhatsApp wa = new WhatsApp("your number", "your password", "pankaj", false, false);
wa.OnConnectSuccess += () =>
{
    Response.Write("connect");
    wa.OnLoginSuccess += (phno,data) =>
    {
        wa.SendMessage("to", "msg");
    };

    wa.OnLoginFailed += (data) =>
    {
        Response.Write("login failed"+data);
    };
    wa.Login();
};
wa.OnConnectFailed+= (ex)=>
{
    Response.Write("connection failed");
}

Do you need an mobile application that should do it? 您需要一个应做的移动应用程序吗? If so i don't think there is any application like that in the market. 如果是这样,我认为市场上没有任何类似的应用程序。 Until now Whatsapp has not exposed any of their apis for developers to take advantages of its functionality. 到目前为止,Whatsapp尚未向开发人员公开其任何API,以利用其功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM