Hi Davi,
The code described by you can get only basic information(ID, NAME and
THUMBNAIL_URL). We have to specify the PROFILE_DETAILS parameter for
retriving another fields of someone's profile.
Regards,
Yoichiro
On July 11, 10:15 pm, "Davi Sáránszky Mesquita"
<
davimesqu...@gmail.com> wrote:
> i am using the "Code Runner" Gadget ... and make this code.... it is very
> simple and u can get another field on API Reference
>
> function response(data) {
> output("
orkut.com:"+data.get("req").getData().getId());
> gadgets.window.adjustHeight();
>
> };
>
> function request() {
> var req = opensocial.newDataRequest();
> req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER),
> "req");
> req.send(response);
>
> };
>
> request();
>