[orkut-developer] Re: Obj_ to fields_ in OpenSocial 0.7?

2008-10-16 Thread Jason
Hi Christopher. If you're trying to access the ID of an opensocial.Person instance, getId() is the most preferred option. You should never access the fields_ property directly. Instead, use the getField method and pass in the constant associated with the field you're trying to access, e.g. owner.

[orkut-developer] Re: Obj_ to fields_ in OpenSocial 0.7?

2008-10-14 Thread Markitecht
hmmm thought of something: var owner = data.get('owner').getData(); if (owner.getId()) { uid = owner.getId(); } Is this approach safer? -C On Oct 14, 12:20 pm, Markitecht <[EMAIL PROTECTED]> wrote: > My live app does not function any longer in the sandbox. I am using > OpenSocial 0.7