/// <summary> /// Gets a collection of the most recent tweets and retweets posted by the authenticating user and the users /// they follow. /// </summary> /// <param name="options">The options for the call.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline</cref> /// </see> public SocialHttpResponse GetHomeTimeline(TwitterGetHomeTimelineOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/statuses/home_timeline.json", options)); }
/// <summary> /// Gets a collection of the most recent tweets and retweets posted by the authenticating /// user and the users they follow. /// </summary> /// <param name="options">The options for the call.</param> /// <returns>An instance of <see cref="TwitterGetHomeTimelineResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline</cref> /// </see> public TwitterGetHomeTimelineResponse GetHomeTimeline(TwitterGetHomeTimelineOptions options) { return(TwitterGetHomeTimelineResponse.ParseResponse(Raw.GetHomeTimeline(options))); }