[OpenSocial] how to detect {"name" : ["familyName", "givenName", "unstructured"]} in container.js

2009-02-02 Thread James Zhang
the config/container.js is: "supportedFields" : { "person" : ["id", {"name" : ["familyName", "givenName", "unstructured"]}, "thumbnailUrl", "profileUrl"], "activity" : ["id", "title"] I konw how to detect id、thumbnail_url、profile_url,use: var id = env.supportsField (opensoci

[OpenSocial] Re: Sending Message using open social API

2009-02-02 Thread chandra mouli
Hello Soumya,yes it is possible you can try using this code function request() { var idspec = opensocial.newIdSpec({ "userId" : "OWNER", "groupId" : "FRIENDS" }); var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest("OWNER"), "get_owner"); req.add(req.newFetchPeopl

[OpenSocial] Re: Sending Message using open social API

2009-02-02 Thread nixon es
no On Tue, Feb 3, 2009 at 10:12 AM, Soumya wrote: > > Hi All, > > > Is it possible to get the recipient's id while sending message to him/ > her using opensocial api? > > Thanks in advance. > > Thanks and regards, > > Soumya > > > --~--~-~--~~~---~--~~ You receiv

[OpenSocial] Sending Message using open social API

2009-02-02 Thread Soumya
Hi All, Is it possible to get the recipient's id while sending message to him/ her using opensocial api? Thanks in advance. Thanks and regards, Soumya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial A