Yes, we temporarily disabled the feature. We will have more words to offer soon, hopefully by the end of the day.
Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Wed, Apr 22, 2009 at 11:41 AM, Burhan TANWEER <[email protected]> wrote: > Hi Doug, > > I have downloaded Abraham's code for OAuth. It has worked earlier but now I > am getting error message > > *" This feature is temporarily disabled. > Thanks for your patience while we work to restore it."* > ** > I have also tried to test OAuth from his own server but I get the same > error message. Did something change in OAuth? > ** > > On Tue, Apr 21, 2009 at 5:54 PM, Doug D <[email protected]> wrote: > >> >> Thanks Chad! >> >> I've checked out Abraham's OAuth lib, but I don't see how to update a >> twitter status. His example seems to only authenticate and return data >> on the person who's authenticated. >> >> doug >> >> >> On Apr 21, 5:00 pm, Chad Etzel <[email protected]> wrote: >> > Take a look at Abraham Williams' excellent Twitter PHP Oauth lib: >> > >> > http://twitter.abrah.am/ >> > >> > -Chad >> > >> > On Tue, Apr 21, 2009 at 4:36 PM, Doug D <[email protected]> wrote: >> > >> > > I've been digging in to the Twitter OAuth stuff and am able to sign >> > > into my site with the Twitter authentication, but I'm wondering if >> > > there is a way to use the OAuth credentails to send a status update >> > > using PHP and cURL. The code below sends an update, but only when a >> > > static username:password is filled in. >> > >> > > My goal it to update (your) Twitter status from my site once you are >> > > authenticated by Twitter. Any thoughts or tutorials? Thanks! >> > >> > > // Set username and password >> > > $username = 'name'; >> > > $password = 'password'; >> > >> > > // The message you want to send >> > > $message = 'My status update'; >> > >> > > // The twitter API address >> > > $url = 'http://twitter.com/statuses/update.xml'; >> > >> > > // Alternative JSON version >> > > // $url = 'http://twitter.com/statuses/update.json'; >> > >> > > // Set up and execute the curl process >> > > $curl_handle = curl_init(); >> > >> > > curl_setopt($curl_handle, CURLOPT_URL, "$url"); >> > > curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); >> > > curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); >> > > curl_setopt($curl_handle, CURLOPT_POST, 1); >> > > curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "status=$message"); >> > > curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password"); >> > > $buffer = curl_exec($curl_handle); >> > > curl_close($curl_handle); >> > >> > > // check for success or failure >> > > if (empty($buffer)) { >> > > echo 'message'; >> > > } else { >> > > echo 'success'; >> > > } >> > >> > >> > > > > -- > Sincerely, > > Burhan Tanweer > www.explorewww.com > [email protected] > >
