Hi Swapnil. Excellent point -- the current user has to install the app
before it can store data associated with that user. So yes, if the
VIEWER object returned is non-null (indicating the current user has
the app), then you can safely call newUpdatePersonAppDataRequest. You
shouldn't otherwise.
Thanks Jason! I was able to develop a workaround :)
On Oct 15, 2:50 am, "Swapnil Shinde" <[EMAIL PROTECTED]> wrote:
> Jason,
> Can the app write to the VIEWER's data store even if the viewer has not
> installed the app? If the viewer object is not null does that mean we can
> safely write to the
Jason,
Can the app write to the VIEWER's data store even if the viewer has not
installed the app? If the viewer object is not null does that mean we can
safely write to the VIEWER's data store?
Thanks,
Swapnil.
On Tue, Oct 14, 2008 at 2:27 PM, Jason <[EMAIL PROTECTED]> wrote:
>
> Your syntax is
Your syntax is correct, but orkut does not allow applications to write
to any other user's app data other than that of the current user. This
prevents me from overwriting another user's data and with potentially
malicious content. Your app should still be able to fetch OWNER data,
but you will onl
Just to add. Data retrieval using "
req.add(req.newFetchPersonAppDataRequest("OWNER",'twitterid'),'userdata');
" works fine.
The problem occurs in "
req.add(req.newUpdatePersonAppDataRequest("OWNER",'twitterid',twit_id));
"
However, if I replace OWNER with VIEWER in the above statement, it
works
Ah I just tried this, and it worked out.
If I replace "OWNER" with "VIEWER" everywhere, it works out. Why isn't
it working for OWNER ??
On Oct 14, 9:05 am, hwked <[EMAIL PROTECTED]> wrote:
> It doesn't seem to be working for me. Neither at sandbox.orkut.com nor
> at prod.sandbox.orkut.com . I al
6 matches
Mail list logo