// Helper private string AddAdditionalParameters(ITweetDTO tweet, string baseQuery) { StringBuilder query = new StringBuilder(baseQuery); string placeIdParameter = _geoQueryGenerator.GeneratePlaceIdParameter(tweet.PlaceId); if (!String.IsNullOrEmpty(placeIdParameter)) { query.Append(String.Format("&{0}", placeIdParameter)); } string coordinatesParameter = _geoQueryGenerator.GenerateGeoParameter(tweet.Coordinates); if (!String.IsNullOrEmpty(coordinatesParameter)) { query.Append(String.Format("&{0}", coordinatesParameter)); } var mediaIdsParameter = GetMediaIdsParameter(tweet); if (!string.IsNullOrEmpty(mediaIdsParameter)) { query.Append(string.Format("&{0}", mediaIdsParameter)); } return(query.ToString()); }