Re: [WebDNA] TCPConnect w/ user:pass
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102533
interpreted = N
texte = --000e0cd29ac2073ee104699ca914Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitDan,Checking the Twitter API it looks like you must use 'post' if you are tryingto send an update: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses updateTo check you are authenticating OK try this first, its working for me.- Tom[!]------------------------------------### Connect to twitter and pull down status listing ###[/!][TCPConnect host=twitter.com][!][/!][text]xmlresponse=[tcpsend skipheader=T]GET/statuses/public_timeline.xml HTTP/1.0[unurl]%0D%0A[/unurl][!][/!]Authorization: Basic [encryptmethod=Base64][user_id]:[user_pw][/encrypt][unurl]%0D%0A[/unurl][!][/!][unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/text][!][/!][/tcpconnect][!][/!][xmlresponse]--000e0cd29ac2073ee104699ca914Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableDan,
Checking the Twitter API it looks like you must use= 'post' if you are trying to send an update:
=C2=A0=C2=A0http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-status=es update To check you are authenticating OK try this first, its =working for me.
[!]
------------------------------------
### ==C2=A0Connect to twitter and pull down status listing =C2=A0###
<=br>
[/!][text]xmlresponse=3D[tcpsend skipheader=3DT]GET /statuses/public_t=imeline.xml HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Authorization: B=asic [encrypt method=3DBase64][user_id]:[user_pw][/encrypt][unurl]%0D%0A[/u=nurl][!]
[/!][unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/text][!]
[/!][/tc=pconnect][!]
[/!][xmlresponse]
--000e0cd29ac2073ee104699ca914--
Associated Messages, from the most recent to the oldest:
--000e0cd29ac2073ee104699ca914Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitDan,Checking the Twitter API it looks like you must use 'post' if you are tryingto send an update: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses updateTo check you are authenticating OK try this first, its working for me.- Tom
[!]------------------------------------### Connect to twitter and pull down status listing ###[/!][TCPConnect host=twitter.com]
[!][/!]
[text]xmlresponse=[tcpsend skipheader=T]GET/statuses/public_timeline.xml HTTP/1.0
[unurl]%0D%0A[/unurl]
[!][/!]Authorization: Basic [encryptmethod=Base64][user_id]:[user_pw][/encrypt]
[unurl]%0D%0A[/unurl]
[!][/!]
[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/text]
[!][/!][/tcpconnect]
[!][/!][xmlresponse]--000e0cd29ac2073ee104699ca914Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableDan,
Checking the Twitter API it looks like you must use= 'post' if you are trying to send an update:
=C2=A0=C2=A0http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-status=es updateTo check you are authenticating OK try this first, its =working for me.