0
 new GraphRequest(AccessToken.getCurrentAccessToken(),
                                        "/"+userId+"/picture",
                                        null,
                                        HttpMethod.GET,
                                        new GraphRequest.Callback() {
                                            public void onCompleted(GraphResponse response) {
            /* handle the result */             Log.e("new Response","----"+response);
                                            }
                                        }
                                ).executeAsync();
                                }

I am getting response like below.

Response:

responseCode: 200, graphObject: {"FACEBOOK_NON_JSON_RESULT":"����\u0000\u0010JFIF\u0000\u0001\u0002\u0000\u0000\u0001\u0000\u0001\u0000\u0000��\u0000�Photoshop"}, error: null}

pRaNaY
  • 24,642
  • 24
  • 96
  • 146
  • Can someone please tell me, is it possible or not? –  Jan 10 '16 at 06:12
  • Of course, I am trying to retrieve the profile picture of all authorized friend who have used my app. –  Jan 10 '16 at 06:20

1 Answers1

0

Instead of creating executeGraphPathRequestAsync request, create simple GET request.

graph.facebook.com/YOUR_USER_ID/picture

Check below link to get image from remote url:

How to load an ImageView by URL in Android?

Community
  • 1
  • 1
pRaNaY
  • 24,642
  • 24
  • 96
  • 146