I have noticed that person.id is different between Firefox and IE in
the igoogle sandbox.

How do you work around this?

Code to get the id's:

var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest
(opensocial.IdSpec.PersonId.OWNER),"get_owner");
req.add(req.newFetchPersonRequest
(opensocial.IdSpec.PersonId.VIEWER),"get_viewer");
req.send(setViewer);

in the call back....

var owner = dataResponse.get('get_owner').getData();
var viewer = dataResponse.get('get_viewer').getData();

viewer.getId()
owner.getId()

The ids only differ in the last 5 numbers, (Firefox is ....90000 and
IE is ....80000)

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to