Gentlemen, Please fret not. I can't confirm as to how soon we might be ready with it, but we're now considering doing an "official" documentation ourselves. :)
Stay tuned. Prashant On Jul 7, 3:51 pm, Robson Dantas <biu.dan...@gmail.com> wrote: > Glad to hear that. > > Maybe me we can create an alternative documentation to all RPC calls. If you > want, can give you access to php-project website and we can setup a wiki > over there. > > Will be useful for others porting another libs. > > Regards, > > Robson Dantas > > 2010/7/6 Allann Jones <allan...@gmail.com> > > > > > Hi. Some progress to get the scraps. > > > The command: > > > { 'method' : 'messages.get', 'userId':['@me'], 'params':{ > > 'userId':['@me'], 'groupId': '@friends', > > 'messageType':'public_message', 'pageType':'first', 'count':'10'} } > > > The albums listing: > > > "{ 'method' : 'albums.get', 'params':{ 'userId':['@me'], 'groupId': > > '@self'} }" > > > The album's pictures: > > > "{'method': 'mediaitems.get', 'params':{'userId':['@me'], > > 'groupId':'@self', 'albumId':['<ALBUM_ID>'], 'count':'10'}}" > > > Where <ALBUM_ID> is the album ID from the return of albums.get > > request, the 'id' column. > > > These obscured parameters... :) > > > I am getting the commands from orkut-os-client: > >http://code.google.com/p/orkut-os-client/ > > > I will post my progress on this. > > > Thank you. Best. > > > On Tue, Jul 6, 2010 at 2:36 PM, Robson Dantas <biu.dan...@gmail.com> > > wrote: > > > I see. > > > When I started porting java version to PHP, got some "error 500" too. But > > it > > > was related to some specific parameters I missed to pass when creating > > the > > > json. > > > What I did: ran samples on orkut-os, which gives you all json data sent > > to > > > the server. Based on that, you can build and test yours. > > > Example: > > > [{"method":"messages.create","params":{"userId":["@me"],"groupId":"@self"," > > message":{"recipients":[1],"body":"message > > > sent using 3legged api","title":"send at > > > 11:01:13","type":"PRIVATE_MESSAGE","types":["EMAIL","NOTIFICATION","PRIVATE > > _MESSAGE","PUBLIC_MESSAGE"]}},"id":"createMessage"} > > > For some reason, if you dont set a 'messageType', instead of 'type', it > > > returns an error 500. > > > About permission denied, check captcha issues. Got some trouble with > > that. > > > PS: Didn't find any documentation, if you do, don't forget to share :-) > > > > Regards, > > > Robson Dantas > > > > 2010/7/6 Allann Jones <allan...@gmail.com> > > > >> Hi. I need to implement it using pure JavaScript RPC, Java does not > > >> run on the devices that I am implementing the Orkut client. > > > >> I have downloaded the Java orkut-os-client and I am trying to port it, > > >> comparing the command that is mounted by it. > > > >> At the moment, I am not able to list the pictures inside a album, I > > >> get 'denied permission' errors, I am only able to list the albums. And > > >> I'm not able to get the messages listing from a user, I get a > > >> 'internal server error' (code 500). But I can get updates list and > > >> profile information. > > > >> Do you know if exists a documentation somewhere with the Orkut > > >> OpenSocial commands specification? > > > >> The useful links that I found: > > >> -http://code.google.com/p/orkut-os-client/ > > >> - > > >http://code.google.com/apis/orkut/docs/orkutdevguide/orkutdevguide-0.... > > >> - > > >http://code.google.com/p/opensocial-php-client/source/browse/trunk/sr... > > > >> Thank you very much. Best regards. > > > >> On Tue, Jul 6, 2010 at 11:55 AM, Robson Dantas <biu.dan...@gmail.com> > > >> wrote: > > >> > Hi Allann, > > >> > The best way is downloading java version and reading all methods > > >> > implemented. That's what I'm doing to port to php. > > >> >http://code.google.com/p/orkut-os-client/ > > >> > Regards, > > >> > Robson Dantas > > > >> > 2010/7/5 Allann Jones <allan...@gmail.com> > > > >> >> Hi. I'm using 3-legged Orkut/Oauth RPC API. Where I get information > > >> >> about the resources and methods that are correctly implemented? Is > > >> >> necessary implement something on Orkut sandbox side? > > > >> >> I'm getting permission errors on requests like messages.get, > > >> >> mediaitems.get. Please, I need some information about these errors. I > > >> >> get the albums listing, but can't get the pictures inside each album. > > > >> >> Is possible to use 3-legged API, or only 2-legged API is supported? > > Is > > >> >> necessary implement some gadget on Orkut side to have access to > > >> >> account data? > > > >> >> Thank you. Best regards. > > > >> >> On Fri, Jul 2, 2010 at 9:43 AM, Allann Jones <allan...@gmail.com> > > >> >> wrote: > > >> >> > Hi. Is possible to get the pictures from a Orkut album using OAuth > > / > > >> >> > RPC with JavaScript? If it is, what the command syntax for this? > > > >> >> > I'm trying this: > > > >> >> > "{'method': 'mediaitems.get', 'params':{'userId':['@me'], > > >> >> > 'groupId':'@self', 'albumId':['xxxxxxxxxxx']}}" > > > >> >> > And I'm getting: > > > >> >> > {"error":{"message":"forbidden: xxxxxxxxxxx is not > > >> >> > accessible","data":{"errorType":"noPermissions"},"code":403}} > > > >> >> > * Where xxxxxxxxxxx is the numeric album ID. > > > >> >> > I'm getting the albums list correctly. But I need to access the > > >> >> > pictures inside it. > > > >> >> > Is the command incorrect, not implemented or not permitted? > > > -- > > _______________________________ > > Allann J. O. Silva > > > "I received the fundamentals of my education in school, but that was > > not enough. My real education, the superstructure, the details, the > > true architecture, I got out of the public library. For an > > impoverished child whose family could not afford to buy books, the > > library was the open door to wonder and achievement, and I can never > > be sufficiently grateful that I had the wit to charge through that > > door and make the most of it." (from I. Asimov, 1994) > > > -- > > 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-or...@googlegroups.com. > > To unsubscribe from this group, send email to > > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2Bunsubscrib > > e...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/opensocial-orkut?hl=en. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.