Exemplo n.º 1
0
 public async ValueTask <IEnumerable <TwitterStatus> > GetUserTimeline(string screenName)
 {
     return(await oAuthApiRequest
            .GetAsync <IEnumerable <TwitterStatus> >("https://api.twitter.com/1.1/statuses/user_timeline.json",
                                                     new[] {
         TwitterOptions.ScreenName(screenName),
         TwitterOptions.Count(50),
         TwitterOptions.IncludeEntities(),
         TwitterOptions.IncludeRetweets(),
         TwitterOptions.ExtendedTweetMode()
     })
            .ConfigureAwait(false));
 }