Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to integrate whatsapp with mscrm for sending and receiving msgs?

$
0
0

Hi,

How to integrate whatsapp with mscrm for sending and receiving msgs?I tried the following code referring to a blog but I was unable to generate password(Highlighted in blue color)?Can anyone help me to  do so.

 WhatsApp wa = new WhatsApp("your number", "your password", "xyz", 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");
    }

Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images