>From the jsdoc:

 * @param {function(opensocial.ResponseItem)=} opt_callback The function to
call once the request has been
 *    processed; either this callback will be called or the gadget will be
 *    reloaded from scratch.

Note that the arg here is a ResponseItem -- if the call fails you should
return an error response.  Note that you cannot be assured that this will be
called as the share-ui may navigate away from the page.

On Fri, Oct 29, 2010 at 12:25 AM, Mathias Gehrung
<[email protected]>wrote:

> Hi,
>
> I'm implementing requestShareApp in our container running shindig 1.0.1.
> Calling opensocial.requestShareApp opens up an dialog where the user can
> choose whom he wants to invite and send an invitation to these users. But am
> I supposed to return the selected users back to the gadget? And is
> requestShareApp required to return something? As far as I understand it
> should only invoke the callback method, is that correct?
>
> Thanks for your answers
> Mathias
>



-- 
Paul Lindner -- [email protected] -- linkedin.com/in/plindner

Reply via email to