It's not working yet... you can only use groups at this point (eg 
'OWNER', 'VIEWER', 'OWNER_FRIENDS').

Here's the thread where Arny talked about it:

http://groups.google.com/group/opensocial-api/browse_thread/thread/5224feb6875b6cd6/e27466d91b380e64
 


-Dustin / iWiddit.com

Aakash wrote:
> I am using this function to get a persons info from his opensocial ID
>  newFetchPersonRequest(id, opt_params)
> i am using it like this---
> var req = opensocial.newDataRequest();
>  req.add(req.newFetchPersonRequest("17361100101336358962","person");
> req.send(fc);
>
> function fc(data){
>
>       var error = data.get("person").hadError();
>   if (error) {alert("err");}
>       var person = data.get("person").getData();
>                 var nm=person.getDisplayImage();
>       var img=person.getField(opensocial.Person.Field.THUMBNAIL_URL);
>       alert(nm);
>       alert(img);
>
>            }
>
> however i am getting a JS error that person has no properties, what am
> i missing?
> Also i am not able understand how to make secure content fetching
> using the new
>  makeRequest(url, callback, opt_params)
>
> Thanks
>
> Aakash
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" group.
To post to this group, send email to opensocial-api@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to