Chris, one more thing I noticed is that at times Net::Twitter seems to be returning 200 OK in the status_line returned for the object (set by $req->status_line when I set it in sub follow()), when the as_string Twitter sends back has a Status of 403 forbidden. (in this case it's a suspended account) Is this a Net::Twitter issue or is it something similar to what happened here, where Twitter's returning the data wrong, or am I just doing it wrong? For the following authenticated URL:

http://twitter.com/favorites/create/MartinAllsop.xml

as_string() returns this:

HTTP/1.1 403 Forbidden
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0
Connection: close
Date: Wed, 29 Oct 2008 00:59:26 GMT
Pragma: no-cache
Server: hi
Content-Length: 174
Content-Type: application/json; charset=utf-8
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Wed, 29 Oct 2008 00:59:26 GMT
Client-Date: Wed, 29 Oct 2008 00:59:23 GMT
Client-Peer: 128.121.146.100:80
Client-Response-Num: 1
Set-Cookie: _twitter_sess =BAh7BzoHaWQiJWY2M2VjOTE5Njg1Mzg1Y2FiOTJhZTJjNTAxNjA5NTVlIgpm %250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG %250AOgpAdXNlZHsA--4b387873eb95ac39c23aa0ff692e360eb197079b; domain=.twitter.com; path=/
Status: 403 Forbidden

{"request":"\/friendships\/create\/MartinAllsop.json","error":"Could not follow user: This account is currently suspended and is being investigated due to strange activity."}

On Oct 28, 2008, at 12:28 PM, Chris Thompson wrote:

Alex,

Thanks. Of course, you've got me listed as Chris Anderson, but hey, I'm not in it for the fame :)

On Tue, Oct 28, 2008 at 2:25 PM, Alex Payne <[EMAIL PROTECTED]> wrote:

I'm tracking this issue here, for the record:
http://code.google.com/p/twitter-api/issues/detail?id=135


--
------------------------
Chris Thompson

Reply via email to