Android Facebook SDK get friend list -


i want user's logged app friend list. so, need use code that:

new graphrequest(     accesstoken.getcurrentaccesstoken(),     "/me/friends",     null,     httpmethod.get,     new graphrequest.callback() {         public void oncompleted(graphresponse response) {             /* handle result */         }     } ).executeasync(); 

the problem don't know need write oncompleted method put friend list array.

after data comes oncompleted() can see structure of json response,

log.d("-@-", "graph response " + response.getjsonobject());

this gives structure of json object there can data. think app needs go through facebook submission there other permissions app needs friends of person


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -