Update to twitter using windows application C#
Hi,
To develop a twitter application for update tweets.
1. Go to this
http://www.twitterizer.net/[
^] website.
2.Download the source code. In that take dll files (Twitterizer2.dll and Twitterizer.Data.dll).
3.
use;
using Twitterizer;
using Twitterizer.Core;
using Twitterizer.Entities;
using Twitterizer.Data;
OAuthTokens tokens = new OAuthTokens();
at button click:
try
{
tokens.AccessToken = "";
tokens.AccessTokenSecret = "";
tokens.ConsumerKey = "";
tokens.ConsumerSecret = "";
TwitterResponse<TwitterStatus> tweetResponse = TwitterStatus.Update(tokens, textBox1.Text);
}
catch
{
}
4. To get tokens, create an application in twitter at
https://dev.twitter.com/blog/tweets-and-buttons[
^].
After create an application make at setting make Read and Write.
OAuth tool select as "Post". After save all these go to Details and click on Recreate my access tokens. Use those tokens and post on you'r twitter.