That's using Basic Auth which has been removed from the API, you need
to use oAuth now.

You could try something like this (http://scottdesapio.com/
VBScriptOAuth/) I've not actually tried this myself as I've not used
Classic ASP in over 6 years now.

Richard

On Sep 17, 12:55 pm, twitterceylan <gm.cey...@gmail.com> wrote:
> Hello I found to bellow asp code for update twitter status, but it not
> work.
>
> Please help me for this aim.
>
> <%
> Response.Buffer = True
> Dim xml
> Set xml = Server.CreateObject("Microsoft.XMLHTTP")
>
> twitter_username = "username" 'change to your twitter username
> twitter_password = "password" 'change to your twitter password
>
> new_status = "visit strangework.com!"         'change to your new status
>
> xml.Open "POST", "http://"; & twitter_username & ":" & twitter_password
> & "@twitter.com/statuses/update.xml?status=" &
> server.URLencode(new_status), False
> xml.setRequestHeader "Content-Type", "content=text/html;
> charset=iso-8859-1"
> xml.Send
>
> Response.Write xml.responseText         'view Twitter's response
>
> Set xml = Nothing
> %>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

Reply via email to