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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -