Posting Tweets(Beginner)

Sep 10, 2014 at 5:07 AM
As i am totally new to the twitter api scene, i did some research and started on using Tweetinvi API. So currently my progress is here
private void Form5_Load(object sender, EventArgs e)
                ( Access_Token, Access_Token_Secret, Consumer_Key, Consumer_Secret );
            TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials
                (Access_Token, Access_Token_Secret, Consumer_Key, Consumer_Secret);
            var user = User.GetLoggedUser(); 

        private void updateButton_Click(object sender, EventArgs e)

            var tweet = Tweet.PublishTweet(mainRichTextBox.Text);
with the credentials set in a private string.

My error is that when i press the update button, VS2010 throws the error "The type initializer for 'Tweetinvi.Tweet' threw an exception."

any direction to the proper path would be much appreciated
Sep 10, 2014 at 11:51 PM

You seem to have code that should work. Could you please send me the StackTrace of your exception.