I understand your point, but this is not the proper forum to discuss
the semantics of the API. You can, however, post your suggestions in
the OpenSocial Specification forum and help shape a future version of
the API:

http://groups.google.com/group/opensocial-and-gadgets-spec/topics

- Jason

On Nov 26, 1:25 pm, anatoly <[EMAIL PROTECTED]> wrote:
> well how about opensocial.newMessage?
>
> here app developers are expected to create new instance
> as you say why not to use getData instead of newMessage as well?
> and you can even handle permissions, quota etc there.
>
> On Nov 26, 9:39 pm, Jason <[EMAIL PROTECTED]> wrote:
>
> > The opensocial.Person object doesn't have a documented constructor
> > because application developers aren't expected to create new instances
> > -- containers like orkut construct the Person objects and return them
> > to clients calling the getData method, e.g. resp.get('owner').getData
> > ();
>
> > Why do you want to create a Person object yourself? What are you
> > planning to do with it?
>
> > - Jason
>
> > On Nov 25, 2:03 am, anatoly <[EMAIL PROTECTED]> wrote:
>
> > > I know how to deal with owner or viewer
> > > I don't want to update profile I want to construct a Person object
>
> > > smth like:
> > > var me = new openSocial.newPerson(id, name...);
>
> > > is that possible or is there any workaround?
>
> > > On Nov 25, 11:12 am, Vijaya <[EMAIL PROTECTED]> wrote:
>
> > > > The Person APIs are for retrieving the user (OWNER or VIEWER)
> > > > information from orkut. You cannot create a new Person or update their
> > > > profile, if that's what you're trying to achieve.- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to