I'm designing a website using forms asp.net I would like this website to view tweets for a from a twitter account timeline using spring social twitter API the problem is when I i run the web page it show this error
The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.
I'm sure that I have the latest version of the library as it works fine with there console application sample code but they neither provide a sample for AS.NET forms nor a proper documentation I'm really lost and I can't figure how to use it
anyway here's my code and I would really appreciate any help
string consumerKey = //my kry;
string consumerKeySecret = //my key secret;
string accessToken = //my token;
string accessTokenSecret = //my token secret;
ITwitter twitter = new TwitterTemplate(consumerKey, consumerKeySecret, accessToken, accessTokenSecret);
IList<Tweet> tweets = twitter.TimelineOperations.GetUserTimeline();
foreach (var tweet in tweets)
lbl.Text = lbl.Text + "\n" + tweet;