[twitter-dev] C# + OAuth + account/update_profile_image = 500 Internal Server Error

2009-08-17 Thread David Carson
Hi, I'm trying to implement a simple little app which can (a) send status updates and (b) modify the user's profile image. I started off using Shannon Whitley's code from http://www.voiceoftech.com/swhitley/?p=681 which got me up and running just fine for the statuses/update method. However I

[twitter-dev] Re: C# + OAuth + account/update_profile_image = 500 Internal Server Error

2009-08-19 Thread David Carson
Got this sorted out and working, and thought I should share the two pitfalls which were causing me problems. First of all, unbelievably, the 500 Internal Server Error was being caused by an extra carriage return between my last HTTP header and the first multipart boundary. Seriously. I had two