OpenSocial has two fundamental user roles: OWNER and VIEWER. OWNER
represents the user who installed the application while VIEWER
represents the user who is currently using or viewing the application.
In orkut, the object representing the application's "owner" is always
accessible; the "viewer" is only accessible if the current user also
has the application installed.

So, in a nutshell, you need to request the application's owner. You
can do this regardless of whether the owner is signed in. Once you
have the OWNER object, you can get that user's ID and send a
makeRequest to your server to fetch the appropriate data.

- Jason

On Sep 22, 12:01 am, agentcris <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I have to achieve a functionality in my app. That is, I would like to
> fetch a remote data from my server and display it on the profile page
> of the owner of the profile. It is a data that is updated in my server
> and it will change even without user's action on orkut. It could be
> equated to a rss feed. So, I would like to know how I can display the
> data even if the owner is not logged in and the viewer is not the
> owner?
>
> I mean how do I make the app get the data of the owner? I know i have
> use gadgets.io.makeRequest, but how to get the owner's uid without him
> logged on. I have the data stored in my server with the owner's uid as
> the key. Please advice.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to