You can get photos from Facebook through the Graph API. Taken here fooobar.com/questions/256855 / ... , look at the following code:
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);
I'm not sure the best way to report new uploaded images, but for the first time, you can check the metadata for new entries from time to time:
URL_TO_FACEBOOK + "me/albums" -> fetch albums URL_TO_FACEBOOK + AlbumID + "/photos" -> to fetch photos of albums
Both results are json code, so you can match it, for example. with GSON
Update1: First, let's look at the Facebook Graph API here . Especially here you can test various ways to get metadata on a schedule. The basic principle is the selection of all albums from the user through his user ID (facebookname) and access token ( described here ). Then you get a JSON result in return, which can be matched to an array. To find out how to get and display json output, you can refer to my previous question here .
Your question relates to a complex process that requires knowledge of facebook api graphics, json mapping and uploading images via url. Check out this specific example , this might work for you, but you need to understand json mapping, using apache http client, and api graphics.
I hope my post was useful to you, greetings!
source share