JSONObject obje = friendsDetail.getJSONObject(i);
FacebookContact contact = new FacebookContact();
contact.createFromJSONObject(obje);
contacts.add(contact);
}
FacebookBean iBean = (FacebookBean) getBean("facebookBean");
iBean.setFacebookContacts(contacts);
} else {
error("Facebook Login Failed");
}
} catch (FacebookException e) {
if (e.toString().indexOf("not authorized") > 0