orkut persistent data app question

0 views
Skip to first unread message

observer247

unread,
Jun 16, 2008, 2:01:23 AM6/16/08
to OpenSocial - OpenSocial Application Development
I have a basic doubt. I am using this call:

req.add(req.newFetchPersonAppDataRequest('VIEWER', 'my_own_data'),
'data');

to get persistent data and use it for my app.

Now my app stores and retrieves data only on the owners space. Its
something like the owner creates a list and that list is stored in the
persistent data. I am thinking in the above call, if I use VIEWER,
will it work ? Should I not be trying to get the data from the OWNER.
Will this work if someone say B is viewing A's profile (where A is the
owner) ?

Should I be calling something like:


req.add(req.newFetchPersonAppDataRequest('OWNER', 'my_own_data'),
'data');

?

Rajiv Renganathan

unread,
Jun 16, 2008, 2:06:03 AM6/16/08
to opensoc...@googlegroups.com
Hi..

yup, u must be getting the OWNER data.

Cheers!
Rajiv
--
-------------------------------------------------------------------------------------------------
DealSearchMaadi.com > Searching over 12 websites for shopping deals across India.
-------------------------------------------------------------------------------------------------

Prem Deb

unread,
Jun 16, 2008, 2:11:21 AM6/16/08
to opensoc...@googlegroups.com
Thanks !

When testing orkut apps using the sandbox, how do we test how the viewer sees the data. While using the account, only I can see my own app. Is there a way a friend can see my app ? Would also like to test friend updates etc.

prem

Rajiv Renganathan

unread,
Jun 16, 2008, 2:14:03 AM6/16/08
to opensoc...@googlegroups.com
Hi Prem,

In the sandbox, your friends are only friends with sandbox access. So your friend needs to get sandbox access. Then he can add appl with ur app xml.

Hope that helps.

Cheers!
Rajiv

My App: Flaunt It!

Arne Roomann-Kurrik (Google)

unread,
Jun 19, 2008, 2:14:09 PM6/19/08
to OpenSocial - OpenSocial Application Development
Sure, just give them the URL of the application and make sure it has a
"UID" parameter on it. For example, here's an application I wrote
running on my own orkut profile:

http://sandbox.orkut.com/Application.aspx?uid=3614003783765785339&appId=118738807794

Note that you can see my profile picture when you load the URL,
meaning that you are the viewer and I am the owner.

Developers usually find it convenient to register a couple of accounts
for testing purposes because of this issue.

~Arne


On Jun 15, 11:11 pm, "Prem Deb" <prem...@gmail.com> wrote:
> Thanks !
>
> When testing orkut apps using the sandbox, how do we test how the viewer
> sees the data. While using the account, only I can see my own app. Is there
> a way a friend can see my app ? Would also like to test friend updates etc.
>
> prem
>
> On Sun, Jun 15, 2008 at 11:06 PM, Rajiv Renganathan <rajsp...@gmail.com>
> wrote:
>
> > Hi..
>
> > yup, u must be getting the OWNER data.
>
> > Cheers!
> > Rajiv
>
Reply all
Reply to author
Forward
0 new messages