Re: [WebDNA] Talklist Archive & Twitter

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102937
interpreted = N
texte = > Hi - this is working for me. Hi Tom, I think your code works because of three elements: 1- Content-Length is often required when POSTing. 2- Content-type may also be required 3- Twitter seems to require User-Agent Sincerely, Ken Grome > Hi - this is working for me. > > - Tom > > > > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]content=[!] > [/!]status=Testing Twitter API&[/text] > > [!] > > ------------------------------------ > ### Connect to twitter and post update ### > > [/!][text]xmlresponse=[TCPConnect host=twitter.com][!] > [/!][tcpsend skipheader=T]POST /statuses/update.xml > HTTP/1.0[crlf][!] [/!]Authorization: Basic [encrypt > method=Base64][user_id]:[user_pw][/encrypt][crlf][!] > [/!]Content-type: > application/x-www-form-urlencoded[crlf][!] > [/!]Content-Length: > [countchars][content][/countchars][crlf][crlf][!] > [/!][content][crlf][!] > [/!][/tcpsend][/tcpconnect][/text][!] > > [/!][xmlresponse] Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Talklist Archive & Twitter ("Brian Harrington, Broker" 2009)
  2. Re: [WebDNA] Talklist Archive & Twitter (Donovan Brooke 2009)
  3. Re: [WebDNA] Talklist Archive & Twitter (Patrick McCormick 2009)
  4. Re: [WebDNA] Talklist Archive & Twitter (Donovan Brooke 2009)
  5. RE: [WebDNA] Talklist Archive & Twitter ("Michael A. DeLorenzo" 2009)
  6. Re: [WebDNA] Talklist Archive & Twitter (Tom Duke 2009)
  7. RE: [WebDNA] Talklist Archive & Twitter ("Michael A. DeLorenzo" 2009)
  8. Re: [WebDNA] Talklist Archive & Twitter (Tom Duke 2009)
  9. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  10. RE: [WebDNA] Talklist Archive & Twitter ("Tana Adams" 2009)
  11. Re: [WebDNA] Talklist Archive & Twitter (Kenneth Grome 2009)
  12. Re: [WebDNA] Talklist Archive & Twitter (Tom Duke 2009)
  13. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  14. Re: [WebDNA] Talklist Archive & Twitter (Stuart Tremain 2009)
  15. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  16. Re: [WebDNA] Talklist Archive & Twitter (Kenneth Grome 2009)
  17. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  18. RE: [WebDNA] Talklist Archive & Twitter ("Tana Adams" 2009)
  19. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  20. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  21. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  22. Re: [WebDNA] Talklist Archive & Twitter ("Dan Strong" 2009)
  23. Re: [WebDNA] Talklist Archive & Twitter (Donovan Brooke 2009)
  24. [WebDNA] Talklist Archive & Twitter ("Tana Adams" 2009)
> Hi - this is working for me. Hi Tom, I think your code works because of three elements: 1- Content-Length is often required when POSTing. 2- Content-type may also be required 3- Twitter seems to require User-Agent Sincerely, Ken Grome > Hi - this is working for me. > > - Tom > > > > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]content=[!] > [/!]status=Testing Twitter API&[/text] > > [!] > > ------------------------------------ > ### Connect to twitter and post update ### > > [/!][text]xmlresponse=[TCPConnect host=twitter.com][!] > [/!][tcpsend skipheader=T]POST /statuses/update.xml > HTTP/1.0[crlf][!] [/!]Authorization: Basic [encrypt > method=Base64][user_id]:[user_pw][/encrypt][crlf][!] > [/!]Content-type: > application/x-www-form-urlencoded[crlf][!] > [/!]Content-Length: > [countchars][content][/countchars][crlf][crlf][!] > [/!][content][crlf][!] > [/!][/tcpsend][/tcpconnect][/text][!] > > [/!][xmlresponse] Kenneth Grome

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:

Sort Issues (2000) CyberCash on OS X (2005) Post arguments problem mac? (1997) [format] problems (1998) Minor Bug(?) with [Capitalize] context (1999) [Sum] function? (1997) Separate SSL Server (1997) [regexp] will be renamed to [grep] in next release (2000) Upgrading old WebCat Database Files (1997) Digest for 4/18/97 (1997) Webcat no longer supported? (2006) Problems with shopping cart (1997) Counting LineItems (2000) [OT] Trying to steal databases on our server (2003) Setting up shop (1997) Re[2]: Re[2]: OT: Amazon Patents (2000) SiteGaurd file Cache vs webcatalog cache (1997) paging through results detail view (2003) [WebDNA] Override price in Wd8.5 (2017) Images do not upload completely ... (2003)