GOT IT!

Thanks!

On May 12, 10:40 am, Cameron Kaiser <spec...@floodgap.com> wrote:
> > Hello Cameron, thanks for your tips.
> > I fixed my signature base string (concatening string suck!). You were
> > also right about the return message, I get a "Incorrect signature".
>
> > I have a couple of questions... why do you say my status is not
> > encoded correctly? it workrd for every other string I have to encode
> > (url, consumer key, etc)
> > What should I write in the request's body? I'm adding "status=<my
> > status>" all that encoded in the same way I did before...
>
> > Is there a problem with that?
>
> Here's what should be happening. Let's take "madam, I'm Adam" as our example.
>
> For your POST body, it is URL-encoded (and you do pass this as your POST):
>
>         status=madam%2C%20I%27m%20Adam
>
> For your sig base, however, it needs to be URL-encoded a *second time*:
>
>         status%3Dmadam%252C%2520I%2527m%2520Adam
>
> and you add that into your sig-base.
>
> Obviously both times the encoding is done according to the OAuth rules.
>
> What you had originally
>
>         status%3Dtest%3A%2012-May-10%2009%3A28%3A56
>
> does not look like you properly encoded it the second time for the sig base.
>
> --
> ------------------------------------ personal:http://www.cameronkaiser.com/--
>   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
> -- Jesus loves you, and I'm trying to. -- Jack Thompson 
> -----------------------

Reply via email to