Hi,
For question 1: Yes, iGoogle supports both VIEWER and OWNER. Since
iGoogle doesn't have public profile pages, VIEWER and OWNER will
always be the same person.
Question 2: It looks like something is cut off on your message. If
you post the rest of the sample we can see what is happening.
Thanks!
~Arne
On Sep 23, 3:01 am, vi <[EMAIL PROTECTED]> wrote:
> Hi,
> I've been having some problems with the first steps of OpenSocial.
> Been writing snippets in the iGoogle sandbox, and the 'social' part of
> OpenSocial isn't working, even when I copy-paste the most basic of
> scripts provided in the tutorials.
> What I'd like is to just fetch the ID of the user who has installed my
> app on his iGoogle page. What ways can this be done? The person should
> be the OWNER of the app. I guessed it should be a single line
> statement, but haven't been able to figure that out. Tried changing
> some tutorial code,
>
> #1: does iGoogle support both OWNER and VIEWER modes?
> #2: would modifying the code for fetching details for VIEWER work with
> OWNER.
> For eg, I just changed the code to fetch a VIEWER's details (by
> creating a DataRequest object and populating it), but doesn't seem to
> work.
> req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.OWNER),
> 'owner');
> but the value that is returned on
> var owner = data.get('owner').getData();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---