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:
Separate SSL Server (1997)
Feature Request: [moverecord] (2003)
Opinion: [input] should be called [output] ... (1997)
PCS Frames (1997)
WebCat2 - [format thousands] (1997)
executive server side java within webDNA (1997)
Multiple catalog databases and showcart (1997)
off topic - dna snipets (1997)
More on the email templates (I like it) (1997)
(1998)
I have troubles to send message out (1998)
no [search] with NT (1997)
setlineitem - price (2003)
Emailer Set Up (1997)
emailer (1997)
[protect admin] (1997)
Listserver problem (1997)
HELP! Search finding too much! (1998)
Re:no template caching (1997)
Limiting user access to .tmpl files (1997)