TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kundan Jha
770
1.1k
321.3k
Use of Whatapp API
Jul 23 2015 7:25 AM
We are Getting
Login Failed
Message with Following Codes...
-----------------------------------------------------------------------------------------------------------------------------------------------------------
private void button1_Click(object sender, EventArgs e)
{
string from = "919891840958";
string to = textBox1.Text;
string messes = textBox2.Text;
WhatsApp wa = new WhatsApp(from, "fHZxi8lKdNuhS5jItAlR1aG0xOY=", "itsme", false, false);
wa.OnConnectSuccess += () =>
{
MessageBox.Show("Connected to Whatsapp......");
wa.OnLoginSuccess += (Phone,data) =>
{
wa.SendMessage(to, messes);
MessageBox.Show("Message Sent....");
};
wa.OnLoginFailed += (data) =>
{
MessageBox.Show("Login failed ..... : {0}",data);
};
wa.Login();
};
wa.OnConnectFailed += (ex) =>
{
MessageBox.Show("Connection Failed...", ex.StackTrace);
};
wa.Connect();
Reply
Answers (
1
)
how to block the particular website using asp.net
How to create a new table for every drop down item