Java or PHP? Do you see the people.get method listed when you fetch
http://localhost:8080/rpc?method=system.listMethods Here's what I'm seeing in a stock install: {"result":["samplecontainer.update","activities.supportedFields","activities.update","activities.delete","gadgets.metadata","activities.get","http.put","activitystreams.create","messages.modify","appdata.get","messages.get","system.listMethods","cache.invalidate","samplecontainer.get","people.supportedFields","http.head","http.delete","messages.create","people.get","activitystreams.get","activitystreams.update","messages.delete","appdata.update","http.post","activities.create","samplecontainer.create","http.get","appdata.delete","appdata.create","activitystreams.delete","activitystreams.supportedFields"]} On Tue, Jun 15, 2010 at 10:00 AM, franck tankoua <[email protected]> wrote: > Hi, > I am using the http://svn.apache.org/repos/asf/shindig/branches/2.0.x > > And the gadget which used to work does not work anymore because the > osapi.people does not exist. Should we now register our own people.get > using > *osapi._registerMethod*? > > Before in version 1.6 It was working without problem. > > {{{ > ... > <Require feature="osapi" /> > ..... > function getAllFriends(){ > var batch = osapi.newBatch(); > batch.add('viewerFriends', osapi.people.getViewerFriends({fields: > ['userid'],sortBy:'name'},200)); > batch.add('viewer', osapi.people.getViewer()); > batch.execute(handleGetAllFriends); > } > ..... > > }}} > > Thanks > > -- > Franck >
