Bojan, This is a problem. I cannot find the URLEncoding feature.
Basically, I have declared OAuth.Twitter as Oauth2 and use OAuth.GetAuthorisationLink() etc... to authorise so that object is authorised. BUT - OAuth.Twitter has no URLEncoding feature that I can find? Neither can I locate URLEncode in OAuth class - I just tried declaring it in VB.NET 2005 and I tried OAuth.RequestMethod and others and could not locate any URLEncode method? On Aug 13, 10:50 pm, Bojan Rajkovic <[email protected]> wrote: > On Thu, Aug 13, 2009 at 5:33 PM, catcalls <[email protected]> wrote: > > > Hi Bojan Rajkovic, > > > When I tried using 0.3 DLL it stated a file was missing. Fox > > something? > > > Perhaps it's a vs2008 only DLL? What do you think? > > You're probably missing log4net. If you'd read the error message, you could > have figured this out on your own. > > > > > > > > > Also, I am using 0.1 DLL which works perfectly except it does not post > > spaces - I get a 401 unauthorised. > > > I declare Oauth.Twitter as oauth2 then use oauth2.WebRequest() with > > the URL. > > > I've tried a + and %2B and the only way to seperate words that works > > is using a _ > > > And that looks terrible! > > > So, is it a known issue in 0.1 that you cannot post spaces with > > WebRequest? > > > I am getting authenticated fine. AND can post Hi to Twitter. Only one > > word without spaces works tho - if I use a space or the URLEncoded > > version of + or + itself it fails. > > > Any ideas because I am stumped? > > Have you tried encoding the status using the OAuth library's UrlEncode? > OAuth's URL encoding is a little different from RFC encoding, so the library > has a special UrlEncode method.
