I am using java.

I have tried what you have suggested (
http://localhost:8080/rpc?method=system.listMethods)  but I have got a 404
error. looks like I need to change my web.xml.
The /rpc is not defined but /social/rpc/* is.

I will do a diff with the shindig-social to see what context have moved.

Thank you.

On Tue, Jun 15, 2010 at 7:09 PM, Paul Lindner <[email protected]> wrote:

> 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
> >
>



-- 
Franck

Reply via email to