Issues on uploading photo to twitter via restsharp api in Windows Phone


Hi, all

I created a project that demonstrated how to use the restshap api to log in the twitter and skydrive. And it worked well.

But when I tried to uploading a image it faild and the returned a error like this: {“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}

could anyone give me a help, why did these errors happend? I was troubled for some hours and almost broke down, could any one give me a help? Thanks in advance!

And here was the project:


Make sure that you’re handling OAuth correctly in the case of uploading an image. The rules of how to build an OAuth signature base string change slightly when performing a multi-part POST. Parameters that are not directly part of oauth are not included in the signature base string.


Maron5 payphone eung :smiley: