Exemple #1
0
        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)));
        }
Exemple #2
0
        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)));
        }
Exemple #3
0
        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)));
        }