Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter CPAN distribution.

Report information
The Basics
Id: 36478
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: Nobody in particular
Requestors: justin.hayes [...] orbisuk.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bad request with new_direct_message
Date: Thu, 5 Jun 2008 16:19:39 +0100
To: bug-Net-Twitter [...] rt.cpan.org
From: Justin Hayes <justin.hayes [...] orbisuk.com>
First of all thanks for a very useful module! I'm trying to send a new direct message using the following code: my $twit = Net::Twitter->new(username=>"<user>", password=>"<pass>" ); $result = $twit- Show quoted text
>new_direct_message(user=>"<otheruser>",text=>"TestMessage");
This is giving me 400 - Bad Request as the response. However I can make the request via curl: curl -u <user>:<pass> http://twitter.com/am:0rbisupp0rt -d user="<otheruser>" -d text="TestMessage" http://twitter.com/direct_messages/new.json It might be that I'm just using your module wrongly. I can make updates fine however so I'm a bit lost. Any help much appreciated! Justin ------------------------------------------------------ Justin Hayes Support Manager justin.hayes@orbisuk.com
This is old and I believe resolved. Please feel free to contact me if not.