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:
Bug Report, maybe (1997)
Sendmail Excel Attachment (2006)
[sendmail] questions... (1997)
[OT] Who's got a cool link (2002)
Bug or syntax error on my part? (1997)
[WebDNA] Sorry WebDNA server not running (2014)
Line items in table cells (1997)
template includes encrypted template (1999)
Almost a there but..bye bye NetCloak (1997)
OT Cookie limit (2001)
Grep question [parsing variables] problem (2003)
WebCommerce: Folder organization ? (1997)
Major bug report on rootbeer (1997)
Running 2 two WebCatalog.acgi's (1996)
Country & Ship-to address & other fields ? (1997)
Secure Server not remembering discounts (1998)
Purchased cart being overwritten - still !?? (1997)
MacAuthorize Problem (1998)
includes and cart numbers (1997)
Error Lob.db records error message not name (1997)