From 111866fa4e4dd38e9808d76db6262e68f3d06b31 Mon Sep 17 00:00:00 2001 From: chirag shah Date: Sun, 3 May 2009 19:15:49 +0800 Subject: [PATCH] Added support for the orkut and friendconnect opensocial 0.8.1 people APIs. Cleaned up the oauth code. Force https. Signed-off-by: Sam Pullara --- opensocial/opensocial.people.xml | 71 ++++++++++++-------------------- 1 file changed, 27 insertions(+), 44 deletions(-) diff --git a/opensocial/opensocial.people.xml b/opensocial/opensocial.people.xml index 691919b9..39729803 100644 --- a/opensocial/opensocial.people.xml +++ b/opensocial/opensocial.people.xml @@ -1,6 +1,8 @@ - +
+ Chirag Shah + http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/restful-protocol select * from opensocial.auth @@ -15,59 +17,40 @@ + b[0]) return 1; - if (a[1] < b[1]) return -1; - if (a[1] > b[1]) return 1; - return 0; - }); - - var locString = ""; - for (var x in paramList) { - locString += paramList[x] + "&"; - } - - var signedRequestUrl = baseStr[1][0] + "?" + locString.slice(0,locString.length - 1); - response.object = y.rest(signedRequestUrl).get().response(); + var finalRequestUrl = OAuth.addToURL(message.action, message.parameters); + response.object = y.rest(finalRequestUrl).get().response(); ]]>