Hi Papa Coen,

While it's unusual that you got a 500 in this case (and are you consistently
getting a 500), I'd like to verify that you're encoding your POST body
before sending.

Your POST body should be simply:
status=setting%20up%20my%20twitter%20hoot

Which should be represented in your OAuth signature base string as:
status=setting%2520up%2520my%2520twitter%2520hoot

Taylor

On Tue, Aug 31, 2010 at 6:30 AM, Papa.Coen <papa.c...@gmail.com> wrote:

> Title says it all. Sniffed with wireshark:
>
> POST /1/statuses/update.json HTTP/1.1
> Content-Type: text/xml; charset=utf-8
> User-Agent: RTL Netherlands OAuth 0.1
> Authorization: OAuth oauth_consumer_key="I1yQDPyI7WUn2fN9JfFWww",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283260843",
> oauth_nonce="7akvCS4Xsm2ZSL0vX04qWP%2FMat4RIODKhywFf5Zq0wg%3D",
> oauth_version="1.0", oauth_token="172686984-
> rnCFtLBbV00YlZVXN0Um1weBPk1dZ3sQXh22rTkG",
> oauth_signature="cGJklfT6Z5L3VjC8AlvpA%2BZ9kOE%3D"
>
> Host: api.twitter.com
> Content-Length: 36
> ...status=setting up my twitter hoot
>
> HTTP/1.1 500 Internal Server Error
> Date: Tue, 31 Aug 2010 13:21:14 GMT
> Server: hi
> Status: 500 Internal Server Error
> Content-Type: text/html; charset=UTF-8
> Set-Cookie: k=217.118.160.30.1283260874490608; path=/; expires=Tue, 07-
> Sep-10 13:21:14 GMT; domain=.twitter.com
> Cache-Control: max-age=300
> Expires: Tue, 31 Aug 2010 13:26:14 GMT
> Vary: Accept-Encoding
> Connection: close
> Transfer-Encoding: chunked
> f4
> Status: 500 Internal Server Error
> Content-Type: text/html
> <html><body><h1>500 Internal Server Error</h1></body></html>Status:
> 500 Internal Server Error
> Content-Type: text/html
> <html><body><h1>500 Internal Server Error</h1></body></html>
> 0
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

Reply via email to