I'm trying to convert the makeSignedRequest function on the following page into a JSNI method.
http://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-function-for-yql/ If I put the raw JS in my HTML page and call it with $wnd.makeSignedRequest(), everything works fine. However, if I move it into a JSNI method (and use $wnd.OAuth), the parameters: [["oauth_version","1.0"],["oauth_consumer_key",ck]] gets written as: 0=oauth_version%3D1.0&1=oauth_consumer_key%3Dmy_key instead of: oauth_version=1.0&oauth_consumer_key=my_key Does anyone know how I might go about fixing this? Thanks, Matt P.S. For more context, I found the JSNI version on the following blog: http://www.sergimansilla.com/blog/?p=75 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---