Rakesh, let's work first with the PROFILE_URL field.
First you have to create a param to add a request for PROFILE_URL,
like this:
var param = {};
param[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.PROFILE_URL];
Then you use:
req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.VIEWER_FRIENDS,
param),
'viewerFriends');
Now, to return all friends, you have to change the MAX filter param.
Use this:
var param = {};
param[opensocial.DataRequest.PeopleRequestFields.MAX] = 900;
Now you can use both param to create your request:
var param = {};
param[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.PROFILE_URL]; // return the correct links for
profile url
param[opensocial.DataRequest.PeopleRequestFields.MAX] = 900; // set a
new value to MAX filter (default is 20)
If you have any more questions, please let me know.
On Apr 17, 8:16 am, "rana das" <
ranaraj1...@gmail.com> wrote:
> ve u worked on shinding container ?
> and i am trying to access my profile only .......
> but i am not getting the way ........
> can u help me out......
>
> regards,
> rana
>