Here's my code
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Tweetinvi;
using Tweetinvi.Core.Extensions;
using Tweetinvi.Core.Interfaces.oAuth;
using Tweetinvi.Core.Interfaces.Streaminvi;
using Tweetinvi.Json;
using SavedSearch = Tweetinvi.SavedSearch;
using Stream = Tweetinvi.Stream;
namespace TwitterClient
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using Tweetinvi;
using Tweetinvi.Core.Extensions;
using Tweetinvi.Core.Interfaces.oAuth;
using Tweetinvi.Core.Interfaces.Streaminvi;
using Tweetinvi.Json;
using SavedSearch = Tweetinvi.SavedSearch;
using Stream = Tweetinvi.Stream;
namespace TwitterClient
{
public partial class Home : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
TwitterCredentials.SetCredentials("xxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxx", "xxxxxxxxxxxxI");
var tweets = Search.SearchTweets("Life");
var firstTweet = tweets.First();
resultlbl.Text = firstTweet.ToString();
var tweets2 = Search.SearchTweets("Me");
var secondTweet = tweets2.First();
successlbl.Text = secondTweet.ToString();
var tweets3 = Search.SearchTweets("Home");
var thirdTweet = tweets3.First();
newlbl.Text = thirdTweet.ToString();
}
}
}