My guess is this block if($auth) { curl_setopt($ch, CURLOPT_USERPWD, "{$this->_authUsername}: {$this->_authPassword}"); }
Is setting the wrong username/password, and you've locked out that account. Prior to yesterday's patch this call would succeed, but you would have left a potentially unhappy user with a locked out account. Now we tell you you've locked it. Note that the endpoint you're accessing doesn't require access, so you can eliminate the auth setting if you want. ---Mark http://twitter.com/mccv On Wed, Apr 21, 2010 at 6:05 PM, Joe Taylor <iamjoetay...@gmail.com> wrote: > I'm sorry for my ignorance, but I'm think this is what you are asking > for. > > http://twitter.com/statuses/user_timeline/mashable.xml?page=1 > ($targetURL) > > Code: > > protected function _sendRequest($uri, $auth =TRUE, $method ='GET', > $data ='') > { > $ch = curl_init(); > > $protocol = ($this->_useSSL) ? 'https' : 'http'; > $targetURL = "{$protocol}://" . self::API_URI . $uri; > > curl_setopt($ch, CURLOPT_URL, $targetURL); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); > curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); > > if($auth) > { > curl_setopt($ch, CURLOPT_USERPWD, "{$this->_authUsername}: > {$this->_authPassword}"); > } > > if('POST' == ($method = strtoupper($method))) > { > curl_setopt($ch, CURLOPT_POST, TRUE); > curl_setopt($ch, CURLOPT_POSTFIELDS, $data); > } > else if('GET' != $method) > { > curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); > } > > curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, TRUE); > curl_setopt($ch, CURLOPT_TIMEOUT, $this->_timeout); > > $data = curl_exec($ch); > $meta = curl_getinfo($ch); > > curl_close($ch); > > return new Arc90_Service_Twitter_Response($data, $meta); > > } > > > $data is returning: > " This account is locked due to too many failed login attempts. Try > again in 3100 seconds. error" > > I hope this is what you were referring to... > > -Joe > > > On Apr 21, 9:53 am, Mark McBride <mmcbr...@twitter.com> wrote: >> What specific endpoint are you calling? Are you authenticating the >> call? This is a recent change, and likely indicates that the >> credentials you're using are invalid. >> >> ---Mark >> >> http://twitter.com/mccv >> >> On Wed, Apr 21, 2010 at 9:27 AM, Joe Taylor <iamjoetay...@gmail.com> wrote: >> > "This account is locked due to too many failed login attempts. Try >> > again in X seconds." >> >> > Hello, >> > I'm receiving this error for the first time on an application that has >> > been working for almost a year. It only happens when we are searching >> > a profile for to pull up a single users stream. >> >> >http://www.twitterface.com/tech-news >> >> >http://skitch.com/kristicolvin/n97ci/twitterface-ungeeked >> >> > I was wondering if anyone could give me some insight to fix this. Any >> > help is greatly appreciated. >> >> > -Joe >> >> > -- >> > Subscription >> > settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en >