User timeline and since_id

Mar 11, 2014 at 2:34 PM
I have a need to call the function user.GetUserTimeline(), but also provide a tweet status ID so that I can get all tweets since that status ID returned from the timeline.

This is the equivalent of querying the Twitter API endpoint "statuses/user_timeline" with the parameter "since_id". Is this functionality available in the latest version of Tweetinvi?
Coordinator
Mar 11, 2014 at 11:20 PM
Hi,

This parameter is not available yet.
It is planned to be implemented within Tweetinvi 0.9.3.0 which will not be available for at least 3 months.

Though Tweetinvi is very flexible and you can implement the feature yourself in 3 lines!
var since_id = 410493427596288001;
var query = String.Format("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={0}&since_id={1}&count=3200", "USER_SCREEN_NAME", since_id);
var tweetsDTO = TwitterAccessor.ExecuteGETQuery<IEnumerable<ITweetDTO>>(query);
var tweets = Tweet.GenerateTweetsFromDTO(tweetsDTO);
Done :)
Linvi
Marked as answer by linvi on 3/11/2014 at 4:21 PM