Android & Facebook SDK : decoding pictures from /me/picture graph call Android & Facebook SDK : decoding pictures from /me/picture graph call json json

Android & Facebook SDK : decoding pictures from /me/picture graph call


Try this :

ImageView user_picture;userpicture=(ImageView)findViewById(R.id.userpicture);URL img_value = null;img_value = new URL("http://graph.facebook.com/"+id+"/picture?type=large");Bitmap mIcon1 = BitmapFactory.decodeStream(img_value.openConnection().getInputStream());userpicture.setImageBitmap(mIcon1);

Where ID is one your profile ID.

For Further details check this :

https://developers.facebook.com/docs/graph-api