title: get profile picture from facebook and set in imageview
body: <p>I retrieved details like userID, email, name, etc but I want to set user profile picture in my imageview.<br>
  How can it be done?</p>
  
  <pre><code>loginButton.registerCallback(callbackManager, new FacebookCallback&lt;LoginResult&gt;() {
  
      String id;
      String name;
      String email;
      String gender;
  
      @Override
      public void onSuccess(LoginResult loginResult) {
  
          System.out.println("onSuccess");
          GraphRequest request = GraphRequest.newMeRequest
                  (loginResult.getAccessToken(), new GraphRequest.GraphJSONObjectCallback() {
                      @Override
                      public void onCompleted(JSONObject object, GraphResponse response) {
                          // Application code
                          Log.v("LoginActivity", response.toString());
                          //System.out.println("Check: " + response.toString());
                          try {
                              id = object.getString("id");
                              // picture= object.getJSONObject("picture").getJSONObject("data").getString("url");
                              name = object.getString("name");
                              email = object.getString("email");
                              gender = object.getString("gender");
                              // birthday = object.getString("birthday");
                              // String location = object.getString("user_location");
  
                              Log.v("id", id);
                              Log.v("name", name);
                              Log.v("email", email);
                              Log.v("gender", gender);
  
                              SharedPreferences.Editor e = mSharedPreferences.edit();
                              e.putBoolean(PREF_KEY_FACEBOOK_LOGIN, true);
                              e.putString("id", id);
                              e.putString("name", name);
                              e.putString("email", email);
                              e.putString("gender", gender);
                              e.commit();
  
                          } catch (JSONException e) {
                              e.printStackTrace();
                          }
                      }
                      // Toast.makeText(getApplicationContext(), id + "\n"  + name + 
                      // "\n" + email + "\n" + gender, Toast.LENGTH_LONG).show();
                  }
  
  
      });
  
          Bundle parameters = new Bundle();
          parameters.putString("fields", "id,name,email,gender, birthday");
          request.setParameters(parameters);
          request.executeAsync();
  }
  </code></pre>
  
  <p>I am using v2.3 version and login button is a predefined button of facebook library please help me or guide me thanks in advance.</p>