Dim post_data As String = TextBox1.Text Dim url As String = "http://twitter.com/statuses/ update.xml?status=" & post_data
Dim xml As String = oauth.WebRequest(RequestMethod.POST, url, String.Empty) This is my code. I'll try URL Encoding the string next. Thanks for the suggestion. On Aug 13, 9:53 pm, Andrew Badera <and...@badera.us> wrote: > Perhaps you need to reconsider your design abstractions -- you should > be able to virtually plug and play. You should have an assembly > sitting between your app and the Twitter library, if you're using > third party, and use your intermediary assembly as an adapter or > facade. That makes it a lot simpler to swap the library on the > backend. You can also use interfaces for this sort of purpose; I > prefer the separate assembly because it reduces regression testing > needs when you make changes later. Single-purpose-ish principle. > > Have you tried encoding the spaces before sending them into his library? > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) > > > > On Thu, Aug 13, 2009 at 4:50 PM, catcalls<g.obrzut3...@ntlworld.com> wrote: > > > Furthermore - I have wrote an entire program with full Twitter > > Interfacing from Searching to Following to Finally Updating and now I > > find I cannot post spaces with the library. > > > I cannot rewrite my entire code base because you suggest LINQ2Twitter. > > > I am using this guys library and he really needs to get it sorted for > > me and the rest of his user base. > > > Basically, my only work around is to replace spaces with an underscore > > _ > > > That works. > > > But it looks like garbage.