Hello Sanjay, Please take a look at the latest opensocial client library / samples. I've tested the latest on java and it works just fine [others should work as well]. The tutorial you've pointed out is probably stale as it's from Sep'08.
Cheers, Shishir On May 6, 5:48 pm, Sanjay <skpate...@gmail.com> wrote: > Hi, > > Seems there is some change in signed request mechanism > ->http://blog.opensocial.org/2009/04/important-oauth-signing-changes-co... > > One of my application validates the signed request in the server side > following the article > (http://wiki.opensocial.org/index.php?title=Building_an_OpenSocial_App... > ). It is now NOT working. I did some googling and installed new > opensocial-client library and changed the code to something like this: > > def valid_sign_orkut(): > > oauth_request = oauth.OAuthRequest.from_request(method, url, > params) > > consumer = oauth.OAuthConsumer('orkut.com', 'foo') > > signature_method = oauth.OAuthSignatureMethod_HMAC_SHA1() > built_signature = signature_method.build_signature(oauth_request, > consumer, None) > return built_signature == tg.request.params.get('oauth_signature') > > Still this does not work. Badly needing clues / references. > > thanks, > Sanjay --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---