How to get facebook profile picture of user in facebook SDK 3.0 Android -


i using facebook sdk 3.0 have profile picture of user login. here code use:

url image_value = new url("http://graph.facebook.com/"+id+"/picture" ); profpict=bitmapfactory.decodestream(image_value.openconnection().getinputstream()); 

but don't desired result.

you should change code following:

url image_value = new url("http://graph.facebook.com/"+id+"/picture" ); 

possible parameters url can found here: https://developers.facebook.com/docs/graph-api/reference/user/picture/


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -