public Task <IList <Tweet> > GetFavoritesAsync(int count) { NameValueCollection parameters = PagingUtils.BuildPagingParametersWithCount(count, 0, 0); return(this.restTemplate.GetForObjectAsync <IList <Tweet> >(this.BuildUrl("favorites/list.json", parameters))); }
public IList <Tweet> GetRetweetsOfMe(int count, long sinceId, long maxId) { NameValueCollection parameters = PagingUtils.BuildPagingParametersWithCount(count, sinceId, maxId); return(this.restTemplate.GetForObject <IList <Tweet> >(this.BuildUrl("statuses/retweets_of_me.json", parameters))); }
public Task <IList <Tweet> > GetMentionsAsync(int count, long sinceId, long maxId) { NameValueCollection parameters = PagingUtils.BuildPagingParametersWithCount(count, sinceId, maxId); return(this.restTemplate.GetForObjectAsync <IList <Tweet> >(this.BuildUrl("statuses/mentions_timeline.json", parameters))); }