public async ValueTask <IEnumerable <TwitterStatus> > FavoritesTimeline() { var statuses = await oAuthApiRequest .GetAsync <IEnumerable <TwitterStatus> >("https://api.twitter.com/1.1/favorites/list.json", TwitterOptions.Default()) .ConfigureAwait(false); return(await UpdateUserConnections(statuses).ConfigureAwait(false)); }
public async ValueTask <IEnumerable <TwitterStatus> > MentionsTimeline(int count) { var statuses = await oAuthApiRequest .GetAsync <IEnumerable <TwitterStatus> >("https://api.twitter.com/1.1/statuses/mentions_timeline.json", TwitterOptions.Default(count)) .ConfigureAwait(false); return(await UpdateUserConnections(statuses).ConfigureAwait(false)); }