I want to show the users profile picture in a list view. When I try to call the graph-api from android to retrieve the image, I always get the following error.
<
private String facebookUser;
AccessToken token;
token = AccessToken.getCurrentAccessToken();
facebookUser = AccessToken.getCurrentAccessToken().getUserId();
ProfilePictureView profilePictureView;
profilePictureView = (ProfilePictureView) findViewById(R.id.facebookUser);
xml
hope it helps !