unable to sent tweet via asp.net web forms for some reason

Aug 20, 2014 at 12:22 PM
Hi there,

I need some help here. I am unable to send tweet for some reason. I am using asp.net, c# web forms. I have remove the consumer key, secret key etc

var auth = new SingleUserAuthorizer
            CredentialStore = new SingleUserInMemoryCredentialStore
                ConsumerKey = "",
                ConsumerSecret = "",

        var service = new TwitterContext(auth);

        var tweet = service.NewDirectMessageAsync(
            "iosandroidweb", "Direct Message Test - " + DateTime.Now + "!'");
On the twitter side, I create an application. I generate the token and secret keys as well. On the permission I activate the read and write access too.

Not sure what I am doing wrong here. I have been struggling to get this up and running for three days now.

Please help here.

Aug 20, 2014 at 12:30 PM
Actually, there is nothing wrong with the code. I just got it up and running. Thanks for your attention here.
Aug 22, 2014 at 2:14 AM

Glad you figured it out - good luck.