Android Facebook sdk 4.0 and Parse : get friends list after facebook login -
i using facebook sdk 4.0 , parse facebook login. after login, access user friends. here code: private static final list<string> permissions = arrays.aslist("email", "public_profile", "user_friends", "read_friendlists"); parsefacebookutils.loginwithreadpermissionsinbackground(mactivity,permissions, new logincallback() { @override public void done(parseuser user, parseexception err) { if (err != null || user == null) { log.e(tag, "facebookconnect", err); mactivity.onfacebookloginerror(failurereason.other); } else { } } }); ..... //this call made in thread... graphresponse meresponse = merequest.executeandwait(); if(meresponse.geterror() == null) { jsonobject jsonobject = meresponse.getjsonobject(); failurereason = updateparseuserdata(jsonobject); if (failurereason != null) { ret...