API function for fetching number of FB friends