What would be "super-awesome" is if gadgets.JSON.parse allowed functions to get sent back and executed.
e.g. { someNewUIAddition: function () { super cool safe UI thing I wrote }} var newObj = gadgets.JSON.parse(response); newObj.someNewUIAddition() This would let people update their apps server side, thus not requiring revisiting an opensocial container hosting site, to reuploading/cache bust to get their new code updated over time. One could post a "shell of an app" and then just enhance its features, for the most part, at home. Roger On Mar 5, 1:16 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> wrote: > What's your use case? It sounds like you want to be able to access the > opensocial functions from your server, which will be possible through the > REST apis when they are released. > > ~Arne > > On Tue, Mar 4, 2008 at 9:44 PM, babygodzilla <[EMAIL PROTECTED]> wrote: > > > hmmm that sounds like the gadget sending a GET and POST request to the > > app server. what about the other way around? that is, the app server > > sending a GET or POST request to a user's gadget? > > > On Mar 4, 12:31 pm, Jason <[EMAIL PROTECTED]> wrote: > > > Hi. > > > > At present, gadgets can issue asynchronous requests and retrieve a > > > text, JSON, or XML response. The requests can be used to fetch > > > information from a server or post new information to a server. All > > > users have a unique ID, which you can send along with these requests, > > > and certain parameters can be signed in order to verify the > > > authenticity of the request. More details are provided in the > > > OpenSocial API specification: > > > >http://code.google.com/apis/opensocial/docs/0.7/spec.html#remote > > > > This is not intended to be a substitute for the REST API, but you can > > > use it in the meantime if your application requires a server-side back- > > > end. Please let me know if you have additional questions on this. > > > > - Jason > > > > On Mar 4, 9:22 am, babygodzilla <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > I've been looking around for tutorials on how to modify a widget's > > > > content from a remote Java app, but I couldn't find anything, or maybe > > > > I just wasn't looking at the right place. In any case, my questions > > > > are simple: > > > > > 1) Is it possible to do so with the current Open Social 0.7? > > > > 2) How do I identify each user? Is there a persistent session key or > > > > anything like that? > > > > 3) How do I POST new content into the widget? > > > > > I wish the REST API would come out already. It'd be so much more > > > > simpler than this gadget stuff... > > > > > Thank you!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---