Wave user profile Information

0 views
Skip to first unread message

RAVINDER MAAN

unread,
Jan 11, 2010, 10:51:08 AM1/11/10
to Google Wave API
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.

pamela (Google Employee)

unread,
Jan 12, 2010, 9:51:38 AM1/12/10
to google-...@googlegroups.com
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

> --
> You received this message because you are subscribed to the Google Groups "Google Wave API" group.
> To post to this group, send email to google-...@googlegroups.com.
> To unsubscribe from this group, send email to google-wave-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
>
>
>
>

RAVINDER MAAN

unread,
Jan 12, 2010, 10:33:17 AM1/12/10
to google-...@googlegroups.com
Is it possible in a robot to get participant's display name and image URL?
--
Regards,
Ravinder Singh Maan
http://ravindersinghmaan.blogspot.com/

Chris

unread,
Jan 12, 2010, 8:34:36 PM1/12/10
to google-...@googlegroups.com
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

RAVINDER MAAN

unread,
Jan 13, 2010, 2:04:18 AM1/13/10
to google-...@googlegroups.com
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

Chris

unread,
Jan 13, 2010, 3:16:47 AM1/13/10
to google-...@googlegroups.com
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


pamela (Google Employee)

unread,
Jan 13, 2010, 7:01:40 PM1/13/10
to google-...@googlegroups.com
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.

Reply all
Reply to author
Forward
0 new messages