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:
Multiple edits/replacementsd to db. Possible? (1997)
Redirect (2003)
[NT] ie 4.0 required (1997)
background (2001)
Need help with emailer- 2 issues (1997)
Online reference (1997)
Help name our technology! (1997)
searchable list archive (1997)
WebMerchant 3.0 for Mac shipping now (1998)
HTML Editors (1997)
block serving .db files (2002)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Post arguments problem mac? (1997)
WebCat2b13MacPlugIn - more [date] problems (1997)
WebMerchant 1.6 and SHTML (1997)
[WebDNA] maybe silly suggestion? [founditems] (2015)
NT Manual (1997)
quantity minimum problem (1997)
upgrading (1997)
[WebDNA] V8.6 FCGI (2018)