-Lou
+1
in addition to this we need a way for app developers to create links that they can embed in content to trigger the same behavior, this is something they are doing today in activites and is something that containers should allow or disallow in their TOS. This would be an excellent use case for templates.
The resultant view is very likely to be a policy decision by the container so we will need to figure out in the API how best to represent this.On Tue, Mar 25, 2008 at 9:42 PM, Kevin Brown <et...@google.com> wrote:
~KevinOn Tue, Mar 25, 2008 at 8:10 PM, Lou <lour...@gmail.com> wrote:
In order to better track information about invites developers need to
have the ability to pass parameters to requestShareApp that the
container can pass on to the app after completion.
I'd propose we consider for 0.8 the addition on a params field to
requestShareApp, similar to view-params in
gadgets.views.requestNavigateTo for this purpose:
<static> requestShareApp(recipients, reason, params, opt_callback)
Requests the container to share this gadget with the specified
users
Map.<String, String> params - Parameters to pass to the gadget after
it has been navigated to on the surface
I think the view that is displayed should be explicit as well; otherwise developers will be forced to handle the shared post navigation in all views.
-Lou
--
Thanks.
- Cassie
+1
(oops i posted +1 to the other thread unnecessarily)
I also voiced a requirement that the opt_callback or the
ResponseObject from the DataRequest would contain the list of people
that were actually sent invitations (much like the requestSendMessage
call)