Saturday, 15 May 2010

Android Facebook SDK: How to retrieve Mutual friends Graph API response -



Android Facebook SDK: How to retrieve Mutual friends Graph API response -

i implemented code facebook sdk mutual friends.

bundle params = new bundle(); params.putstring("fields", "context.fields(mutual_friends)"); // create api phone call new request( session, "/{user-id}", params, httpmethod.get, new request.callback() { public void oncompleted(response response) { /* handle result */ log.d("results", response.tostring()); } } ).executeasync();

how read response object , retrieve total count , list of mutual friends? have gotten result in log. thanks.

booth people need autorize friend_list_permission see users in common. if not need utilize all_mutual friends, can run in server, no working in clients. documentation in all_mutual_friends.

i explain post here.

http://stackoverflow.com/a/34663235/3516549

android facebook facebook-graph-api

No comments:

Post a Comment