Re: [WebDNA] TCPConnect w/ user:pass
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102534
interpreted = N
texte = Thanks. I'll try with POST.FYI, /statuses/public_timeline.xml doesn't require authentication:http://www.twitter.com/statuses/public_timeline.xmlso I am still not able to test that, but I will post any solution I come =up with.-DanOn Mon, 11 May 2009 06:57:58 +0100 Tom Duke
wrote:> Dan,> Checking the Twitter API it looks like you must use 'post' if you are t=rying> to send an update:>=20> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses update>=20> To check you are authenticating OK try this first, its working for me.>=20> - Tom>=20>=20> [!]>=20> ------------------------------------> ### Connect to twitter and pull down status listing ###>=20> [/!][TCPConnect host=3Dtwitter.com][!]> [/!][text]xmlresponse=3D[tcpsend skipheader=3DT]GET> /statuses/public_timeline.xml HTTP/1.0[unurl]%0D%0A[/unurl][!]> [/!]Authorization: Basic [encrypt> method=3DBase64][user_id]:[user_pw][/encrypt][unurl]%0D%0A[/unurl][!]> [/!][unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/text][!]> [/!][/tcpconnect][!]>=20> [/!][xmlresponse]
Associated Messages, from the most recent to the oldest:
Thanks. I'll try with POST.FYI, /statuses/public_timeline.xml doesn't require authentication:http://www.twitter.com/statuses/public_timeline.xmlso I am still not able to test that, but I will post any solution I come =up with.-DanOn Mon, 11 May 2009 06:57:58 +0100 Tom Duke wrote:> Dan,> Checking the Twitter API it looks like you must use 'post' if you are t=rying> to send an update:>=20> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses update>=20> To check you are authenticating OK try this first, its working for me.>=20> - Tom>=20>=20> [!]>=20> ------------------------------------> ### Connect to twitter and pull down status listing ###>=20> [/!][TCPConnect host=3Dtwitter.com][!]> [/!][text]xmlresponse=3D[tcpsend skipheader=3DT]GET> /statuses/public_timeline.xml HTTP/1.0[unurl]%0D%0A[/unurl][!]> [/!]Authorization: Basic [encrypt> method=3DBase64][user_id]:[user_pw][/encrypt][unurl]%0D%0A[/unurl][!]> [/!][unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/text][!]> [/!][/tcpconnect][!]>=20> [/!][xmlresponse]
"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:
Huge databases and RAM (1998)
Possible Bug in 2.0b15.acgi (1997)
info (1997)
Help w/Multi User Admins (1997)
raw field names (2001)
list items (1998)
[OT] JavaScript Error (2002)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
OT - help.. (2003)
Search in 2 or more catalogs (1997)
Cart Number Propagation (1997)
WebCatalog can't find database (1997)
Multipart Form - Ascertain File Type (2007)
Part Html part WebDNA (1997)
Monthly Reports (2000)
Payment Processors (2005)
problems with 2 tags (1997)
need help please (1997)
Searchable list archive (1997)
PIXO Support (1997)