Hi Arne, Following is the error that I get when i try to use with isValidSignature funtion
Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 499, in __call__ handler.get(*groups) File "/base/data/home/apps/sambi-gifts/1.14/api.py", line 111, in get if not self._isValidSignature(): File "/base/data/home/apps/sambi-gifts/1.14/api.py", line 100, in _isValidSignature sig = base64.decodestring(urllib.unquote(self.request.params.mixed() ["oauth_signature"])) KeyError: 'oauth_signature' Do I have to add the libraries to the code manually (I thought they were added in the code they have in the Google Code). Let me know if I have to do it ( and how ) Thanks, Sambi On Jul 14, 4:10 pm, "Arne Roomann-Kurrik (Google)" <[EMAIL PROTECTED]> wrote: > Hi Sambi, > > Were you using the orkut sandbox? Do you see any error messages in > the AppEngine logs indicating that something is failing? Did you copy > the pycrypto and OAuth libraries to your project? > > ~Arne > > On Jul 14, 10:58 am, Sambi Reddy <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I am planning to write a opensocial application using appengine. So, I > > follwed the tutoail that you had for Gifts application. > > > But, I am having problem with the Authorization part > > >http://code.google.com/apis/opensocial/articles/appengine.html#signing > > > When I had the complete code from Google Code. I was not able to see > > the gifts and giftTransactions. So, I figured out the requests are not > > being processed correctly. So, I deleted the isValidSignature function > > then I was able to see gifts and giftTransactions. > > > Can anyone help me with this (is there any thing that i have to change > > to make it work). > > > by the way I am using Sandbox environment to do this. > > > Thanks, > > Sambi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---