Re: [WebDNA] TCPConnect w/ user:pass
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102531
interpreted = N
texte = USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[CRLF]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 11/05/2009, at 10:35 AM, Dan Strong wrote:> Trying to code a twitter function for someone:>> =============================> [text]crlf=[UnURL]%0D%0A[/UnURL][/text]>> [TCPConnect host=www.twitter.com]> [tcpsend skipheaders=T]GET /statuses/update.xml HTTP/1.0[crlf]> Authorization: Basic [Encrypt method=Base64]user:pass[/Encrypt][crlf]> Host: www.twitter.com[crlf][crlf]> [/tcpsend]> [/TCPConnect]> =============================>> Returns:> =============================> >
> /statuses/update.xml> Could not authenticate you.> > =============================>> I am positive that "user" and "pass" are correct because I can login > to twitter using them...can anybody see any obvious syntax mistakes > or omissions?>> Thanks,> -Dan> ---------------------------------------------------------> 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:
USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[CRLF]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 11/05/2009, at 10:35 AM, Dan Strong wrote:> Trying to code a twitter function for someone:>> =============================> [text]crlf=[unurl]%0D%0A[/UnURL][/text]>> [TCPConnect host=www.twitter.com]> [tcpsend skipheaders=T]GET /statuses/update.xml HTTP/1.0[crlf]> Authorization: Basic [Encrypt method=Base64]user:pass[/Encrypt][crlf]> Host: www.twitter.com[crlf][crlf]> [/tcpsend]> [/TCPConnect]> =============================>> Returns:> =============================> > > /statuses/update.xml> Could not authenticate you.> > =============================>> I am positive that "user" and "pass" are correct because I can login > to twitter using them...can anybody see any obvious syntax mistakes > or omissions?>> Thanks,> -Dan> ---------------------------------------------------------> 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/
Stuart Tremain
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:
Not really WebCat (1997)
WebCat2 as a chat server? (1997)
serial number generation (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Separate SSL Server (1997)
Moment of Thanks (1997)
Search Spiders (2002)
Add a field to the error log? (1997)
No Wanna Duppys (1998)
Undeliverable Mail (1997)
Price Change (2000)
WebCatalog-NT?'s (1996)
.. more on sliding discounts... (1997)
Summing fields (1997)
More on IE5 (2000)
Custom WebCat Prefs ... (1997)
webcat serving up 2+ versions of the same db? (2000)
Re:Virtual hosting and webcatNT (1997)
How far do [showif]s go? (1997)