[orkut-developer] Re: to verify if has friends, that it uses app, as?

2008-09-03 Thread Vinicius
fixed, thanks jason for a solution :D On Sep 2, 3:39 pm, Jason <[EMAIL PROTECTED]> wrote: > Are you saying that your verification is failing in the case when > there aren't any friends with the application installed? If so, try > this verification code instead. > > if (!data || data.hadError() ||

[orkut-developer] Re: to verify if has friends, that it uses app, as?

2008-09-02 Thread Jason
Are you saying that your verification is failing in the case when there aren't any friends with the application installed? If so, try this verification code instead. if (!data || data.hadError() || data.get('viewer_friends').hadError()) { // Error retrieving data return false; } var viewer_f