public override Dictionary <string, string> GetParameters() { Dictionary <string, string> parameters = new Dictionary <string, string> { { "q", Query } }; if (Feed != FeedType.All) { parameters.Add("f", Feed.ToString().ToLower()); } if (Count > 0) { parameters.Add("count", Count.ToString()); } parameters.Add("include_entities", IncludeEntities.ToString().ToLower()); if (ResultType != ResultTypeOptions.Recent) { parameters.Add("result_type", ResultType.ToString().ToLower()); } if (SinceId != 0) { parameters.Add("since_id", SinceId.ToString()); } if (MaxId != 0) { parameters.Add("max_id", MaxId.ToString()); } parameters.Add("tweet_mode", "extended"); return(parameters); }
public override Dictionary <string, string> GetParameters() { Dictionary <string, string> parameters = new Dictionary <string, string>(); if (UserId != 0) { parameters.Add("user_id", UserId.ToString()); } if (!string.IsNullOrEmpty(ScreenName)) { parameters.Add("screen_name", ScreenName.Trim()); } if (SinceId != 0) { parameters.Add("since_id", SinceId.ToString()); } if (Count != 0) { parameters.Add("count", Count.ToString()); } if (MaxId != 0) { parameters.Add("max_id", MaxId.ToString()); } return(parameters); }
public override Dictionary <string, string> GetParameters() { Dictionary <string, string> parameters = new Dictionary <string, string>(); if (Count != 0) { parameters.Add("count", Count.ToString()); } if (SinceId != 0) { parameters.Add("since_id", SinceId.ToString()); } parameters.Add("tweet_mode", "extended"); return(parameters); }