If you provide the full request/response output from your call to the
method, I'm sure somewhat can tell you what's going on.  Thanks!

On Wed, Dec 10, 2008 at 16:36, sMan <[EMAIL PROTECTED]> wrote:
>
> 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.
>
> Thanks!
> --S
>



-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x

Reply via email to