I am able to get friend list of friend of logged in user but of limited friends(app users) those having less friends except one friend.
Wait I am explaining in detail.
I am able to get friend list of friends those are app users. My 8 friends are app users. I am able to friends of 7 friends but I am not able to get friends of one friend. One difference found that he is having over 3300 friends others around 300.
I am getting this error
[Fri Mar 02 18:20:44 2012] [error] [client 192.168.1.2] PHP Fatal error: Uncaught Exception: 18: This API call could not be completed due to resource limits\n thrown in /var/www/jobjasoos/system/libraries/base_facebook.php on line 1040
I think it is because of large no. of friends. Is there any way to avoid this error?
I am using this fql query.
$query="SELECT uid, name, work FROM user WHERE is_app_user=1 AND uid IN (SELECT uid2 FROM friend WHERE uid2 IN (SELECT uid2 FROM friend WHERE uid1 = $current_user) ) ORDER BY name";
$user_info=$facebook->api(array('method'=>'fql.query',
'query'=>$query));
And I have seen following links, and didn't got any clue.