> Hi guys, I just started kicking the tires on the API (thanks, btw!)
> and am having a horrendous time posting to /direct_messages/new.xml.
> The response that comes back is "invalid request" which doesn't give
> me much to debug or go off of. I am able to post to the udpate/status
> urls just fine so I dont think its my code. here is how I'm doing the
> post in Ruby:
> 
> postTwitter("http://twitter.com/direct_messages/new.xml";, {"text" =>
> 'this is a test', "user" => 'saumil})
> 
> postTwitter is my wrapper method to execute the http request and works
> for other urls, just not this one.

Unfortunately, that doesn't give a whole lot of information without knowing
exactly how postTwitter() does its business. Even better would be a
transcript from a snooping proxy like Charles.

Your other alternative is to post DMs using the D username message syntax.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * [EMAIL PROTECTED]
-- require "std_disclaimer.pl"; -----------------------------------------------

Reply via email to