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:
The List is Changing (1997)
upgrading (1997)
WebCat2 - [format thousands] (1997)
A multi-processor savvy WebCatalog? (1997)
Re:no [search] with NT (1997)
Ampersand Character (&) (1997)
passing user info on each page (2000)
Trouble with Netscape (1998)
process SSI (1998)
What is WebDNA (1997)
triggers.db (1999)
sendmail spaces (1997)
P3P and IE 6 (2004)
deerfield/wingate server (2004)
WebDNA Solutions ... sorry! (1997)
access denied problem (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
Talk List Suggestions (1997)
WebDNA and SQL (2003)
RSS parser for download (2002)