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.
<
You can it do it by Using ProfilePictureView instead of an image view:
You can set the size to small/normal/large/custom.
Then in your code, set the user facebook id like this:
ProfilePictureView profilePictureView;
profilePictureView = (ProfilePictureView) findViewById(R.id.friendProfilePicture);
profilePictureView.setProfileId(userId);
Hope this help.