From: Chirag Shah <chiragsh...@gmail.com>
Date: Wed, 17 Jun 2009 21:11:47 -0700 (PDT)
Local: Thurs, Jun 18 2009 12:11 am
Subject: Re: OAuth JS API results in signature_invalid at random
Hey Matt, try the code below. It works reliably for me.
Make sure you've included:
OAuth.setTimestampAndNonce(message);
On Jun 17, 8:28 am, Matt Raible <mrai...@gmail.com> wrote:
> Hello,
> I'm trying to use the JavaScript API to authenticate with OAuth from a
> I'm using the following makeSignedRequest() function to create the
> Fromhttp://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-functio...
> <script type="text/javascript">
> OAuth.setTimestampAndNonce(message);
> var parameterMap = OAuth.getParameterMap(message);
> if (parameterMap.parameters) {
> var paramList = baseStr[2][0].split("&");
> var locString = "";
> return baseStr[1][0] + "?" + locString.slice(0,
> </script>
> Any idea why this could be happening?
> Thanks,
> Matt You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||