3Dec/100
[OAuth] A Space-Escaping Gotcha
I just finished helping a third-party developer who is trying to integrate with Formspring's API, and it brought up a pretty common problem I've seen:
Most standard URI escaping mechanisms will convert spaces to a '+' character. This works all well and fine in the browser, but OAuth is pretty finicky about its parameters.
OAuth requires the space to be sent as %20.
So in the case that your standard URI escaper converts to a '+', you'll need to add one additional step to convert the '+' to a '%20'. Otherwise, you'll likely find yourself getting Invalid Signature errors.