Re: [WebDNA] TCPConnect w/ user:pass
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102530
interpreted = N
texte = Try putting in a browser typeRegardsStuart 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:
Try putting in a browser typeRegardsStuart 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:
Listserver problem (1997)
[WebDNA] [sendmail] sending two emails (2012)
Flag checking (2000)
Summarizing results. Is there a shortcut? (1999)
multi-paragraph fields (1997)
Can I invoke an ssi plugin from within a webcat page (1997)
Summing fields (1997)
Two prices in shoppingcart? (1997)
[ShowNext] feature in 2.0 (1997)
Bug Report, maybe (1997)
Enhancement Request for WebCatalog-NT (1996)
updating with ProductEditor (1998)
Emailer setup (1997)
MATH TIME (1997)
Help with database strategy (1998)
Deleting Orders (1997)
RE: Renaming textA (1998)
Secure Server (1997)
SandBox and ImageMagick (2003)
filtering extra characters from credit card numbers (2001)