I'm building a webpage to show the time line of some twitter account and for now to display it in a label
the problem is when I use the code under in the page load the browser keep in the waiting status and never load the page I would really llike to know what is wrong and thanks in advance
the problem is when I use the code under in the page load the browser keep in the waiting status and never load the page I would really llike to know what is wrong and thanks in advance
string consumerKey = //consumer key
string consumerKeySecret = //consumer key secret
string accessToken = //access token
string accessTokenSecret = //access token secret
TwitterCredentials.Credentials = TwitterCredentials.CreateCredentials(accessToken, accessTokenSecret, consumerKey, consumerKeySecret);
var sampleStream = Stream.CreateSampleStream();
sampleStream.TweetReceived += (sender1, args) => { Label1.Text = (args.Tweet.Text); };
sampleStream.StartStream();