Ciao a tutti, ho un problemino da un po di tempo .. non riesco più a pubblicare messaggi su twitter tramite il mio sito, l'errore che mi esce è sempre lo stesso:
Basic authentication is not supported
Il codiche che uso è questo:
Avete qulche idea o esempio per uscirne?codice:function asp_twitter_update(strMsg,strUser,strPass) dim oXml,strFlickrUrl strFlickrUrl = "http://twitter.com/statuses/update.xml" set oXml = Server.CreateObject("Msxml2.ServerXMLHTTP.3.0") oXml.Open "POST", strFlickrUrl, false, strUser, strPass oXml.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" oXml.Send "status=" & server.URLencode(strMsg) asp_twitter_update = oXml.responseText Set oXml = nothing end function Dim xmlStatuses,strMsg strMsg = "" & Request.Form("req_stato") & "" xmlStatuses = asp_twitter_update(strMsg,"" & Request.Form("twitteruser") & "","" & Request.Form("twitterpassword") & "") Response.Write(xmlStatuses)
Grazie, Marco.![]()

Rispondi quotando