0
{Response:  responseCode: 200, graphObject: GraphObject{graphObjectClass=GraphObject, state={"summary":{"total_count":379},"data":[]}}, error: null, isFromCache:false}

Do I need to give extra permission, if so where? Also I am to get only user name and ID no other details.

Tunaki
  • 132,869
  • 46
  • 340
  • 423
Sudarshan
  • 31
  • 1
  • 8

1 Answers1

1

Since v2.0 of the Graph API you can only get the friends who authorized your App, for privacy reasons:https://developers.facebook.com/docs/graph-api/reference/v2.3/user/friends

for more information check this

Community
  • 1
  • 1
Ravi
  • 34,851
  • 21
  • 122
  • 183
  • thanks, Also How can I get profile details, for below code I can get only user name and ID.Request request = Request.newMeRequest( Session.getActiveSession(), new Request.GraphUserCallback() { @Override public void onCompleted(GraphUser user, Response response) { // TODO Auto-generated method stub Log.d(TAG,"user "+user); } }); Request.executeBatchAsync(request); – Sudarshan Dec 07 '15 at 09:11
  • Ask for the fields you want. Or search StackOverflow because the question have been asked once a day at least for months – WizKid Dec 08 '15 at 21:40