3 messages in com.googlegroups.opensocial-orkutRe: [OpenSocial] Very important question
FromSent OnAttachments
Abhinav09 Dec 2007 20:04 
Augusto10 Dec 2007 04:14 
Arne Roomann-Kurrik (Google)10 Dec 2007 16:04 
Subject:Re: [OpenSocial] Very important question
From:Augusto (cast@gmail.com)
Date:12/10/2007 04:14:59 AM
List:com.googlegroups.opensocial-orkut

Abhinav,

Actually you will not add parameters to the gadget link. Using javascript inside your gadget you'll fetch the information from your website.

Try using function _IG_FetchContent(url, func, {refreshInterval:num})

More documentation you'll find here: http://code.google.com/apis/gadgets/docs/reference.html

Hope it helps.

On Dec 10, 2007 1:04 AM, Abhinav <apra@gmail.com> wrote:

Hi, I have a very important question that i have had a hard time finding on this forum.

How do I pass external data to my gadget. From my external website I have a link "Visit our Orkut App" [with the appropriate link pointing to the app]. But I want to pass in some variables as well so that my gadget will know a few things about the other parameters i want to add to keep track of a few things.

so the external website link will point to a link like this

http://sandbox.orkut.com/Application.aspx?uid=89789asdnajksbd&appId=XXXXXXXXXX , but I also want to pass in something like this

http://sandbox.orkut.com/Application.aspx?uid=89789asdnajksbd&appId=XXXXXXXXXX&user-visited-from=mywebsiteurl

How do I read the "user-visited-from" parameter frm my gadget? Please help Abhinav