TweetSharp SendTweetWithMediaOptions example
asp.net, asp.net-mvc, c#, tweetsharp, twitter
Solution
See the first part of this pull request: TweetSharp Github
calling `SendTweetWithMedia` instead of SendTweet may be the case.
Also, the key in the dictionary, doesn't seems to be the image path (you're giving it a Stream anyway) example passes "test" to it.
--HTH Have fun
Problem
Anyone here tried tweeting with an image using TweetSharp? I tried the following: ``` Dictionary<string, Stream> imageDict = new Dictionary<string, Stream>(); imageDict.Add(imagePath, imageStream); // I'm getting an error with the line below. // It's saying I have some invalid arguments. :( status = service.SendTweet(new SendTweetWithMediaOptions() { Status = readerMsg.Message, Images = imageDict }); ``` But the last line is giving me an invalid argument error with no helpful reason why. I tried looking at their GitHub page but the sample only illustrates how to post a simple text message.