[twitter-dev] Re: http://twitter.com/direct_messages/new.json failed

2009-04-10 Thread Doug Williams
Gary, direct_messages/new requires a HTTP POST request. I can see from the URL you pasted in the post that you have a query string. If you are sending a POST request you would have no query string. Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 9, 2009 at 10:21 PM, Alex

[twitter-dev] Re: http://twitter.com/direct_messages/new.json failed

2009-04-10 Thread Gary Zhao
Exactly. It's my overlook. Thanks Alex and Doug. On Fri, Apr 10, 2009 at 9:25 AM, Doug Williams d...@twitter.com wrote: Gary, direct_messages/new requires a HTTP POST request. I can see from the URL you pasted in the post that you have a query string. If you are sending a POST request you

[twitter-dev] Re: http://twitter.com/direct_messages/new.json failed

2009-04-10 Thread Zachary West
On Fri, Apr 10, 2009 at 12:25, Doug Williams d...@twitter.com wrote: Gary, direct_messages/new requires a HTTP POST request. I can see from the URL you pasted in the post that you have a query string. If you are sending a POST request you would have no query string. Although, it is possible

[twitter-dev] Re: http://twitter.com/direct_messages/new.json failed

2009-04-09 Thread Alex Payne
400 is the response code we return for rate limiting. Are you sure you're making the request using an HTTP POST? What was the body of the response? On Thu, Apr 9, 2009 at 18:22, Gary Zhao garyz...@gmail.com wrote: http://twitter.com/direct_messages/new.json?user=qinqi7text=test I got The