Re: [WebDNA] Talklist Archive & Twitter
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102935
interpreted = N
texte = same result (no dice)On Tue, 14 Jul 2009 09:26:27 +1000 Stuart Tremain
wrote:> Have you tried putting in a user agent ?>=20> Have not tried this, but just put it together from other TCP Connect s=tuff that I do.>=20> [text]Content=3DAuthorization: Basic [Encrypt=20> method=3DBase64]myUserName:myPassWord[/Encrypt][/text]>=20> [text]crlf=3D[UnURL]%0D%0A[/UnURL][/text]>=20> [tcpconnect host=3Dwww.twitter.com&port=3D80&ssl=3DF][!]> [/!][tcpsend skipheader=3DT]POST /statuses/update.xml HTTP/1.0[CRLF][!]> [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) [CR=LF][!]> [/!]Content-Length: [CountChars][content][/CountChars][CRLF][!]> [/!][CRLF][!]> [/!][content][CRLF][!]> [/!][/TCPSend][!]> [/!][/tcpconnect]>=20>=20>=20>=20> Regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20> On 14/07/2009, at 9:15 AM, Dan Strong wrote:>=20>>> Dan, when I tried your code in Firefox it said "This method =20>>> requires a POST" but you're using GET so maybe that's the problem.>>>> [text]crlf=3D[UnURL]%0D%0A[/UnURL][/text]>>>> [TCPConnect host=3Dwww.twitter.com]>> [tcpsend]POST /statuses/update.xml HTTP/1.0[crlf]>> Host: www.twitter.com[crlf]>> Authorization: Basic [Encrypt method=3DBase64]myUserName:myPassWord[/=20>> Encrypt][crlf][crlf]>> [/tcpsend]>> [/TCPConnect]>>>> returns:>>>> >> >> /statuses/update.xml>> Could not authenticate you.>> >>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
same result (no dice)On Tue, 14 Jul 2009 09:26:27 +1000 Stuart Tremain wrote:> Have you tried putting in a user agent ?>=20> Have not tried this, but just put it together from other TCP Connect s=tuff that I do.>=20> [text]Content=3DAuthorization: Basic [Encrypt=20> method=3DBase64]myUserName:myPassWord[/Encrypt][/text]>=20> [text]crlf=3D[unurl]%0D%0A[/UnURL][/text]>=20> [tcpconnect host=3Dwww.twitter.com&port=3D80&ssl=3DF][!]> [/!][tcpsend skipheader=3DT]POST /statuses/update.xml HTTP/1.0[CRLF][!]> [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) [CR=LF][!]> [/!]Content-Length: [countchars][content][/CountChars][CRLF][!]> [/!][CRLF][!]> [/!][content][CRLF][!]> [/!][/TCPSend][!]> [/!][/tcpconnect]>=20>=20>=20>=20> Regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20> On 14/07/2009, at 9:15 AM, Dan Strong wrote:>=20>>> Dan, when I tried your code in Firefox it said "This method =20>>> requires a POST" but you're using GET so maybe that's the problem.>>>> [text]crlf=3D[unurl]%0D%0A[/UnURL][/text]>>>> [TCPConnect host=3Dwww.twitter.com]>> [tcpsend]POST /statuses/update.xml HTTP/1.0[crlf]>> Host: www.twitter.com[crlf]>> Authorization: Basic [Encrypt method=3DBase64]myUserName:myPassWord[/=20>> Encrypt][crlf][crlf]>> [/tcpsend]>> [/TCPConnect]>>>> returns:>>>> >> >> /statuses/update.xml>> Could not authenticate you.>> >>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
"Dan Strong"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Date Sorting (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Bill To - Ship To Information display (1997)
Extended [ConvertChars] (1997)
SMSI: WebDNA Versions? (2002)
[WebDNA] Sorry WebDNA server not running. (2017)
ReturnRaw context (1997)
WebCat2b15MacPlugin - [protect] (1997)
WC2f3 (1997)
[WebDNA] Version 7.x: webdna.ini and EmailerPrefs (2012)
Bug Report, maybe (1997)
Error Log.db --however (1997)
WebCat2: multiple currency support (1997)
Bad creator codes which cause access denied error message (1997)
CGI Request Time Out (1997)
HTML docs are wrong about listwords ... (2000)
Problem displaying search result (1997)
test7 (2000)
syntax question, not in online refernce (1997)
Database Structure? (1998)