Simple Search and display

Nov 10, 2014 at 7:20 AM
hello guys, i'm new to tweetnvi and im trying to build this code
 protected void Page_Load(object sender, EventArgs e)
 {
TwitterCredentials.SetCredentials(access_token, accesstokensecret , connsumerkey, consumersecretkey);

Search.SearchTweets("#html").ForEach(t => Console.WriteLine(t.Text));
            
}
it seems its not working. can you help me? and can i use repeater to display it?
sorry for the dumb questions
Coordinator
Nov 10, 2014 at 10:30 AM
Edited Nov 10, 2014 at 10:47 AM
Hi,

It looks like you Twitter has probable throw an exception. Please use the ExceptionHandler and give me the information displayed in this.
TwitterCredentials.SetCredentials(access_token, accesstokensecret , connsumerkey, consumersecretkey);
Search.SearchTweets("#html").ForEach(t => Console.WriteLine(t.Text));
ExceptionHandler.GetLastException().ToString();
Yes you can use the repeater, and no these are not dumb questions!

Regards,
Linvi