title: not able to send message via whatsapp API using asp.net mvc3
body: <p>when i'm trying to send a message using c# with whatsApp API , </p>
  
  <p>it shows login Failed.
  The error is not-authorized.
  Please help me.
  Thanks in advance.</p>
  
  <p>code:</p>
  
  <pre><code>  WhatsApp wa = new WhatsApp(from, "mypassword", "Rajat", false, false);
  
          wa.OnConnectSuccess += () =&gt;
              {
                  TempData["connect"] = "Connected to whatsapp";
  
                  wa.OnLoginSuccess += (PhoneNumber, data) =&gt;
                      {
                          wa.SendMessage(to, msg);
                          TempData["sent"] = "Message Sent";
                      };
                  wa.OnLoginFailed += (data) =&gt;
                      {
                          TempData["fail"] = data;
                      };
                  wa.Login();
              };
  
          wa.OnConnectFailed += (ex) =&gt;
              {
                  TempData["failure"] = "Connection Failed";
              };
  
          wa.Connect();
  
          return View();
  </code></pre>