Koushik,

if you don't define anything, orkut will take up to 20 friends in your
request.
You have to set this in your request like this, using MAX filter:

var opt_params = { };
opt_params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] = [
        opensocial.Person.Field.PROFILE_URL
        ];

opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 500;
opt_params[opensocial.DataRequest.PeopleRequestFields.FILTER] =
opensocial.DataRequest.FilterType.HAS_APP;
opt_params[opensocial.DataRequest.PeopleRequestFields.SORT_ORDER] =
opensocial.DataRequest.SortOrder.NAME;

req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.VIEWER_FRIENDS,
opt_params), "viewer_friends");
req.send(function get_callback(response) { ... });


Frisoni


On Fri, Oct 17, 2008 at 15:21, koushik <[EMAIL PROTECTED]> wrote:

>
> Thank you very much Jason.I am working on it.
>
> But one question.
>
> I am using the same code as it is in this link
>
> http://code.google.com/apis/opensocial/docs/0.8/devguide.html#ListFriends_Complete
> (Complete Code for List Friends).
>
> Its not pulling the entire friends list. It is only pulling 20.
>
> Though my app got approval. I am very much concern about that.
>
> Here is the link for my app:
>
> http://www.orkut.com/Main#Application.aspx?uid=5896298388906214005&appId=512987547957
>
>
> Is there any limit for the no. of friends? Can i send more than 1
> invitation at a time form my app (using request share app method)?
> and if i make any changes to the xml file..do i need to resubmit the
> app for the approval?
>
> Thank you again,
>
> Koushik Gattu.
>
> On Oct 13, 1:44 pm, Jason <[EMAIL PROTECTED]> wrote:
> > Hi Koushin. I'm sorry for the late reply.
> >
> > You should have at least two test accounts in orkut, one with your
> > application installed and one without, to test how your app behaves in
> > both cases. If a user doesn't have your app installed, his/her
> > information won't be available to your app, so you shouldn't make this
> > assumption.
> >
> > Generally, in the profile view, keep the focus on the owner. If your
> > application allows users to rate and review movies, for example, the
> > profile view should show the owner's top-rated movies and most recent
> > reviews. This simplifies your application because you don't have to
> > check whether the viewer's information is available in order to show
> > owner data. On the canvas view, you can either display a custom view
> > if the viewer object is null or re-direct the user to the install page
> > if they try to take a certain action like submitting a review. No
> > automatic re-directs, however.
> >
> > Let me know if you have any more questions, and I'll try to get back
> > with you quicker.
> >
> > - Jason
> >
> > On Oct 8, 1:53 pm,koushik<[EMAIL PROTECTED]> wrote:
> >
> > > Thank you Jason.
> >
> > > I got the reply.
> >
> > > Do i have to use OWNER id instead of VIEWER?
> >
> > > What does it mean by this:
> >
> > > -- Please test your app with two users: userA that has the app and
> > > userB that is only viewing the app on userA's profile, in this use
> > > case, it looks like you app is trying to work with the viewer id and
> > > not the owner id.
> >
> > > Thank you,
> >
> > > On Oct 1, 12:17 pm, Jason <[EMAIL PROTECTED]> wrote:
> >
> > > > HiKoushik. I'm sorry you haven't received your review yet. I'll
> > > > expedite this review for you, and you can expect a reply later today.
> >
> > > > - Jason
> >
> > > > On Sep 30, 2:16 pm,koushik<[EMAIL PROTECTED]> wrote:
> >
> > > > > Yes.App name issiftin-com.
> >
> > > > > Thank you,
> >
> > > > >Koushik
> >
> > > > > On Sep 30, 2:05 pm, Raman <[EMAIL PROTECTED]> wrote:
> >
> > > > > > Google is never wrong. :-)
> > > > > > Is this your app?
> http://www.orkut.com/Application.aspx?appId=872307057139
> >
> > > > > > On Wed, Oct 1, 2008 at 2:20 AM,koushik<[EMAIL PROTECTED]>
> wrote:
> >
> > > > > > > Hi,I have submitted my app(open social id #330032133) long time
> , i
> > > > > > > didn't get any response. When i try to resubmit the app its
> saying the
> > > > > > > its already in the application directory.But, when i search for
> the
> > > > > > > application its not giving any results.Thanks and please let me
> > > > > > > know..the status of it.
> > > > > > >http://sandbox.orkut.com/Application.aspx?appId=872307057139
> >
> > > > > > --
> > > > > > Raman
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to