本文介绍了入门并不授权在WhatsApp的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

public void sendMesage()
    {
        string from = "91123456789";
        string to = "9112345789";
        string Message = "Hi";

        WhatsApp wa = new WhatsApp(from, Password, "Aman", false, false);
        wa.OnConnectSuccess += () =>
            {
                lblerror.Text = "Connected to whatsapp....";
                wa.OnLoginSuccess += (phonenumber, data) =>
                    {

                        wa.SendMessage(to, Message);
                        lblerror.Text = "Message Sent....";
                    };
                wa.OnLoginFailed += (data) =>
                    {
                        lblerror.Text = "Login falied...." + data;
                    };
                wa.Login();
            };
        wa.OnConnectFailed += (ex) =>
            {
                lblerror.Text = "Connected to Failed....";
            };
        wa.Connect();
    }

我想通过请告诉我APP阿比我的手机发送信息,但越来越没有获得许可的错误。

I am trying to send message on my mobile through Whats APP Api But getting Not Authorized error.

请帮我,因为它是对我来说非常重要,今天是我的演示,客户端。

Please help me out as it is very important for me and today is my demo to client.

推荐答案

我认为你正在使用。这是叉子,你可以看到两个重要的事情:

I think you are using this. It is a fork of this and you can see two important things:

第一:该项目是由过时将近一年。
第二:这张图片presides在一部开拓创新GitHub的库主页

First: The project is outdate by almost a year.Second: This picture presides the main page in the orignal gitHub repository.

所以,我认为API是pcated德$ P $,你在

So, I think that the API is deprecated and you are in risk of being blocked

菲娜

这篇关于入门并不授权在WhatsApp的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 14:17