php - Getting all friends likes gives an unknown error code

I am using FB Graph API to retrieve all friends info from the user:

$fb_friends = $facebook->api("/$fb_user_id/friends?fields=id,name,email,bio,gender,relationship_status,interested_in,birthday,hometown,location,languages,movies,music,books");

From the last few days, I am getting an error from FB when I run this api call - "unknown error occured".

I believe this is because there is too much data and FB is not able to return all the results. Any suggestions?

1 Answer

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>