hi there, i use tweetsharp to search some tweets from twitter.
And the code is working, but it retrieves truncated text.
here is my code:
public List<Tweets> serarch()
{
List<Tweets> tlist = new List<Tweets>();
var service = new TwitterService("ck", "cs");
service.AuthenticateWith("tk", "tks");
var options = new SearchOptions { Q = "#sexualassault #rape" };
var tweets = service.Search(options);
foreach (var tweet in tweets.Statuses)
{
if (tlist.Count == 50)
break;
else
{
tlist.Add(new Tweets {
Name = tweet.User.Name,
Text = tweet.Text
});
}
}
return tlist;
}