Hi Abhinav,
You can pass parameters to your Orkut applications by appending
"up_" to the start of the parameter you wish to forward.
For example:
.../Application.aspx?uid=XX&appId=YY&up_user_visited_from=ZZ
Will give you a parameter named "up_user_visited_from" in your
application that you can get by calling:
var from = _args()["up_user_visited_from"];
This is also registered as a user preference value named
"user_visited_from". You can get this by calling
var prefs = new _IG_Prefs();
var from = prefs.getString("user_visited_from");
Hope this helps,
~Arne
On Dec 10, 4:15 am, Augusto <[EMAIL PROTECTED]> wrote:
> 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.
>
> Regards,
> Augusto
>
> On Dec 10, 2007 1:04 AM, Abhinav <[EMAIL PROTECTED]> 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=X...
> > , but I also want to pass in something like this
>
> >http://sandbox.orkut.com/Application.aspx?uid=89789asdnajksbd&appId=X...
>
> > How do I read the "user-visited-from" parameter frm my gadget? Please
> > help
> > Abhinav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Discussion" 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/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---