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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -