Hi, I'm trying to get a number of tweets from the user timeline, but no matter how I dot it it does not retrieve the given number. This is my code:
Is there a problem with my code?
Thank you.
var timelineParameter = Timeline.CreateHomeTimelineRequestParameter();
timelineParameter.MaximumNumberOfTweetsToRetrieve = n;
var timeLine = Timeline.GetHomeTimeline(timelineParameter);
foreach (var tweet in timeLine)
{
Console.WriteLine(tweet.Text);
}
n is a parameter given by the user. So if, for example, if I ask for 100 tweets the maximun I can get is 42. And when I ask for 1000 it only gives 113.Is there a problem with my code?
Thank you.