Posting a tweet using OAuth from IOS app?

Escape the string first with stringByAddingPercentEscapesUsingEncoding.

Escape the string first with stringByAddingPercentEscapesUsingEncoding:.

Sorry using stringByAddingPercentEscapesUsingEncoding didn't solve the problem. – emmo May 28 at 10:10 Oops I see now in your code you already escaped it :S.. What happens if you skip Content-Length? – vakio May 28 at 10:11 nothing happens when skipping the content-length, same problem, – emmo May 28 at 10:28.

Try changing the encoding to NSASCIIStringEncoding or NSUTF8StringEncoding and see if it works. I don't think you need to percent escape the message when setting it in the body. That is only needed if you add it to the URL as a param value.

Request setHTTPBody:NSString stringWithFormat:@"status=%@", tweet dataUsingEncoding:NSASCIIStringEncoding.

If that also gives the same error, I'd start looking in my code for issues. – lostInTransit May 29 at 8:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions