Thanks for reply.
I have several questions again.
I have tried using up_path parameter, but my application doesn't
receive any querystring parameter.
My link was:
http://sandbox.orkut.com/Application.aspx?uid=17918730883118925891&appId=426648787570&bpc=1&up_path=test
Btw, bpc=1 - is needed to disable caching. If it is enabled - my
application is not being queried directly on my server, but will be
executed from the cache. It can't be that if I'm working with
interactive application with some logic on my server.
Also, if I get something wrong with up_path and finally will get that
working, will that thing work only for Orkut or is it a part of
opensocial standard? If this is only supported in Orkut, I need
something else to implement multiple pages in my application. As far
as I understood, opensocial is an advancement for google gadget
platform, so any gadget functionality will be available in opensocial
containers. How about using javascript "_IG_FetchContent()" function
for loading pages from my server app?
When the People API will be released, will there be a way to
authenticate user which runs the application on my server without
knowing his credentials? I mean if a user has installed my application
and loads it in some opensocial container he uses, will my application
be able to somehow get that user info, based on some session token?
Thank you very much,
Den.
On Nov 20, 11:27 pm, "Arne Roomann-Kurrik (Google)"
<
api.kur...@google.com> wrote:
> Hi Den,
>
> Orkut allows for passing data through the querystring to your gadget.
> Any querystring parameters prefixed with "up_" are automatically
> passed to your application, so people have implemented paging through
> links like
>
>
http://sandbox.orkut.com/Application.aspx?appId=<your_application_id>&up_path=about
>
> Inside your app, you can check _args()["up_path"] to get the value (in
> this case, it would be "about") and decide which page to show based
> off of this value.
>
> To create a url programatically, you need to get the app ID number.
> There isn't a specific method to get this in the API yet, but you can
> get the App ID by requesting an activitystream for a user:
>
>
http://code.google.com/apis/opensocial/docs/javascript/reference/open...