private ITweetDTO PublishTweetDTO(ITweetDTO tweetToPublish) { _uploadQueryExecutor.UploadTweetMediasBeforePublish(tweetToPublish); var publishedTweetDTO = _tweetQueryExecutor.PublishTweet(tweetToPublish); return(publishedTweetDTO); }
public string PublishTweet(ITweetDTO tweetToPublish) { _uploadQueryExecutor.UploadTweetMediasBeforePublish(tweetToPublish); string query = _tweetQueryGenerator.GetPublishTweetQuery(tweetToPublish); return(_twitterAccessor.ExecuteJsonPOSTQuery(query)); }