I'm attempting to implement opensocial.requestShareApp. Within the
container, I have the following:

os_Container: {

   function: init(data)
   {
        ...
        gadgets.rpc.register('shindig.requestShareApp', this.requestShareApp);
   }

   function requestShareApp(callbackId, recipientIds, message)
   {
         alert(message);
         gadgets.rpc.call('', 'shindig.requestShareApp_callback',
callbackId, true, null, recipientIds); ;
   }
}

The problem I'm having is that from this scope (the container),
shindig.requestShareApp_callback doesn't seem to be accessible.
Clearly, I'm calling this incorrectly. But I'm unsure how to call it
correctly, when I don't seem to know the targetID of the gadget this
should be called in. To put the question succinctly, how do I call
shindig.requestShareApp_callback from within the container's
implementation of shindig.requestShareApp?

Anyway, thanks in advance and hopefully this question doesn't cause
too much eye rolling.

Reply via email to