コード例 #1
0
 /// <summary>
 /// Get the raw API response for a user's timeline.
 /// </summary>
 /// <param name="options">The options used when making the call to the API.</param>
 /// <see>
 ///     <cref>https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline</cref>
 /// </see>
 public SocialHttpResponse GetUserTimeline(TwitterUserTimelineOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException("options");
     }
     return(Client.DoHttpGetRequest("https://api.twitter.com/1.1/statuses/user_timeline.json", options));
 }
コード例 #2
0
 /// <summary>
 /// Gets the timeline of a user with the specified <code>options</code>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 public TwitterTimelineResponse GetUserTimeline(TwitterUserTimelineOptions options)
 {
     return(TwitterTimelineResponse.ParseResponse(Raw.GetUserTimeline(options)));
 }