Hi All,
Is anyone knows i google supports sort by name when requests friends
profile from the gadget ? I tried with the following code but its
not working.
var idSpec2 = opensocial.newIdSpec({"userId" : "VIEWER","groupId" :
"FRIENDS"});
dataReqObj = opensocial.newDataRequest();
param={};
param[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.ABOUT_ME,
opensocial.Person.Field.AGE];
opensocial.DataRequest.PeopleRequestFields.SORT_ORDER =
opensocial.DataRequest.SortOrder.NAME;
dataReqObj.add( dataReqObj.newFetchPeopleRequest(idSpec2, param),
'get_data_friends');
dataReqObj.send(response2);
--
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en.