Right, that workaround relies on the gadget being viewed.

A request has been filed for robot access to the thumbnail + name info:
http://code.google.com/p/google-wave-resources/issues/detail?id=617

FYI -
The participant info is actually subject to change for a user, and can
even change over the course of a gadget session, so gadget authors are
asked to listen to the participant callback and refresh their display
accordingly. It's not clear how we would force robots to re-fetch the
data in case of a change, so this request requires some thought on our
part.


On Wed, Jan 13, 2010 at 7:16 PM, Chris <[email protected]> wrote:
> It sounds like the gadget isn't running simply because no user's browser is
> running it.  I don't know whether there's a JavaScript engine that bots can
> use or not, but that sounds like your only hope.
>
> In ALL things, strive for ><>,
> Chris
>
>
> On Wed, Jan 13, 2010 at 1:04 AM, RAVINDER MAAN <[email protected]> wrote:
>>
>> Chris I have done it using gadget API but the problem is that gadget cant
>> send response untill someone open that wave.
>> I have implemented it this way.
>> 1. There is a bot which has to be added to use extension we are
>> developing.
>> 2. When bot is added to the wave  it adds gadget to the wave.
>> 3. Gadget then collects profile information of all the users and send it
>> to a servlet (using HTTP request) which stores profile information in the
>> database.
>>
>> Now the problem is that gadget becomes active only after any of the
>> participant open the wave.
>> Is it possible to make gadget active from robot itself?
>> Like as soon as robot adds gadget to the wave it starts sending
>> participants information even if none of the participant has opened or seen
>> that wave yet.
>>
>> Thanks
>>
>> On Wed, Jan 13, 2010 at 7:04 AM, Chris <[email protected]> wrote:
>>>
>>> If your bot can't get those directly from the API, I believe it can from
>>> a gadget.  I was researching how to do this for myself, and...
>>> http://softwareas.com/cross-domain-communication-with-iframes  You'll need
>>> to design the gadget and have your bot insert a script element into the wave
>>> to communicate with the gadget.
>>>
>>> In ALL things, strive for ><>,
>>> Chris
>>>
>>>
>>> On Tue, Jan 12, 2010 at 9:33 AM, RAVINDER MAAN <[email protected]>
>>> wrote:
>>>>
>>>> Is it possible in a robot to get participant's display name and image
>>>> URL?
>>>>
>>>> On Tue, Jan 12, 2010 at 8:21 PM, pamela (Google Employee)
>>>> <[email protected]> wrote:
>>>>>
>>>>> A robot and gadget only ever get information about the participants in
>>>>> the wave.
>>>>>
>>>>> A robot gets information on their ID, and a gadget gets the thumbnail,
>>>>> name, and ID.
>>>>>
>>>>> Neither of them can access profile info of arbitary users.
>>>>>
>>>>> It may be possible to integrate with the Google Contacts API to find
>>>>> this info about a user's contacts, but I have not seen an example of
>>>>> such integration yet:
>>>>> http://code.google.com/apis/contacts/
>>>>>
>>>>> - pamela
>>>>>
>>>>> On Tue, Jan 12, 2010 at 2:51 AM, RAVINDER MAAN <[email protected]>
>>>>> wrote:
>>>>> > How can we get profile information of any wave id in Robot and
>>>>> > gadget.
>>>>> > User whose profile information like url of his picture is not
>>>>> > participant in the wave.
>>>>> >
>>>>> > --
>>>>> > You received this message because you are subscribed to the Google
>>>>> > Groups "Google Wave API" group.
>>>>> > To post to this group, send email to
>>>>> > [email protected].
>>>>> > To unsubscribe from this group, send email to
>>>>> > [email protected].
>>>>> > For more options, visit this group at
>>>>> > http://groups.google.com/group/google-wave-api?hl=en.
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Wave API" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected].
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-wave-api?hl=en.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Ravinder Singh Maan
>>>> http://ravindersinghmaan.blogspot.com/
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Wave API" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-wave-api?hl=en.
>>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Wave API" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-wave-api?hl=en.
>>>
>>
>>
>>
>> --
>> Regards,
>> Ravinder Singh Maan
>> http://ravindersinghmaan.blogspot.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Wave API" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-wave-api?hl=en.
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to