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

Aug 20, 2014 at 1: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 = "",
OAuthToken="",
                OAuthTokenSecret=""
            }
        };

        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.

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

Glad you figured it out - good luck.

@JoeMayo