Hi, I'm porting OpenSocial Java lib to J2ME using json.me and oauth.me. If I try to run the DisplayFriends or DisplayProfile sample (also ported to ME), it responses with 401. (The Java SE version of the lib works correctly, and I didn't find any significant difference between the generated URLs/signatures, see below)
key: uynAeXiWTisflWX99KU1D2q5& message: POST&http%3A%2F%2Fsandbox.orkut.com%2Fsocial%2Frpc&%255B%257B %2522params%2522%253A%257B%2522userId%2522%253A %252203067092798963641994%2522%252C%2522groupId%2522%253A%2522%2540self %2522%257D%252C%2522id%2522%253A%2522people%2522%252C%2522method %2522%253A%2522people.get%2522%257D%255D%3D%26oauth_consumer_key %3Dorkut.com%253A623061448914%26oauth_nonce %3D1524181997110522638%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1237846609%26oauth_token%3D%26oauth_version %3D1.0%26xoauth_requestor_id%3D03067092798963641994 sig: urEkyKaCOgi3eKPrpev6p3eiZpw= URL: http://sandbox.orkut.com/social/rpc?xoauth_requestor_id=03067092798963641994&oauth_signature=urEkyKaCOgi3eKPrpev6p3eiZpw%3D&oauth_consumer_key=orkut.com%3A623061448914&oauth_version=1.0&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1237846609&oauth_token=&oauth_nonce=1524181997110522638 PostBody: [{"params": {"userId":"03067092798963641994","groupId":"@self"},"id":"people","method":"people.get"}] Response: {"message":"unauthorized: The request did not have a proper security token nor oauth message and unauthenticated requests are not allowed","code":401} Can anyone help me in fixing this problem? Thanks for your help in advance! Best Regards, imoon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Implementing OpenSocial Containers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/opensocial-container?hl=en -~----------~----~----~----~------~----~------~--~---
