what kind of data you need from orkut profiles? eg.. function for getting app
owner, viewer name
function getData() { var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest('VIEWER'), 'viewer');
req.add(req.newFetchPersonRequest('OWNER'), 'owner');
req.send(onLoadFriends); }
function onLoadFriends(dataResponse) {var owner =
dataResponse.get('owner').getData();bvar viewer =
dataResponse.get('viewer').getData(); var oid=
owner.getField(opensocial.Person.Field.PROFILE_URL) ; oid=
oid.substring(18);//parses persons uid from his URLvar
vid=viewer.getField(opensocial.Person.Field.PROFILE_URL) ;
vid=vid.substring(18); var html = owner.getDisplayName+"welcomes"+"
viewer.getDisplayName; document.getElementById("message").innerHTML = html;
};you can get the lots of examples, documentation on google code opensocial
page..Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
Date: Wed, 12 Dec 2007 10:30:24 +0530From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: [OpenSocial] Re: Query with orkut
Hi Aakash
I am not getting you, which JS functions i can use for this.
Thanx
On Dec 11, 2007 10:51 PM, <[EMAIL PROTECTED]> wrote:
Hiyou can use JS functions to access orkut api,its an extension of google
gadgets ..by the way I am also a UG student from PESSE, Bangalore :) which sem
are you guys from ?? ThanksAakash(test my opensocial orkut app adding
http://enext.biz/aks/tags.xml)________________________________> Date: Mon, 10
Dec 2007 20:04:42 +0530 > From: [EMAIL PROTECTED]> To:
[email protected]> Subject: [OpenSocial] Query with orkut> > hi
all,> We are a team of developers and we want to know if its possible to build
external apps using orkut API . or my question is does an API to orkut exist at
all ?> it would be like to be able to see ur scraps ,write scraps . do we have
such an api for orkut . i was just wondering seeing its added to opensocial
partners list . >>>> --> thanks> S Theyagarajan> http://theyagar.com>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> S.Theyagarajan> Under Graduate> Department Of Computer Science And
Engineering> National Institute Of Technology , Trichirapalli> India
620015>_________________________________________________________________ The
best games are on Xbox 360. Click here for a special offer on an Xbox 360
Console.http://www.xbox.com/en-US/hardware/wheretobuy/-- Ruchi KothariTrainee
S/W EngineerImpetus Infotech Pvt. Ltd.Noida
_________________________________________________________________
The best games are on Xbox 360. Click here for a special offer on an Xbox 360
Console.
http://www.xbox.com/en-US/hardware/wheretobuy/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial API Definition" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---