Hi,
Following a brief discussion with Arne (attached below), it seems that
defining a standard response for PERSON object when user is not logged-
in (like anonymous or guest users) is helpful for app. developers.
When it is important for an app. to know or differentiate anonymous
users, it would need to handle various responses from different
containers. If spec standardizes this response, cross container app.
development would be easier and there would be no need to learn/know
various behaviours of different containers.
Are there any suggestions for a standard response for anonymous users?
Arne commented that some containers return nothing while others use a
specific ID in this case.
Regards,
Kaan
---------- Forwarded message ----------
From: Arne Roomann-Kurrik <
api.kur...@google.com>
Date: Nov 16, 10:11 pm
Subject: What is the VIEWER ID when user is not logged in?
To: OpenSocial Application Development
Hi Kaan,
Currently, I believe that the two types of response for this are to
return nothing at all (like orkut) or return a Person object with ID
of -1 (like MySpace). It sounds like this would be a great thing for
the spec to define. Can you post a thread
tohttp://
groups.google.com/group/opensocial-and-gadgets-spec/topics
asking for standardization here?
~Arne
On Nov 15, 12:55 am, Kaan Bingol <
bing...@gmail.com> wrote:
> Hi,
> Is there a common practice among different containers to set VIEWER
> for anonymous or guest users. I know some containers do not allow
> anonymous users to reach open social apps but since there are
> increasingly different containers and uses of open social gadgets, how
> a container sets VIEWER if user is not logged-in becomes important.
> Should it be null or a specific like Guest?
> A gadget may need to know this notation in order to handle anonymous
> users. Any information on how various containers handle this, is
> useful to build a common practice.
> Thanks,
> Kaan