private List<FBPhoto> processPhotoData(List<Facebook> fbData) throws ParseException {
		// TODO Auto-generated method stub
		List<FBPhoto> list=new ArrayList<FBPhoto>();
		try {
			for (Facebook facebook : fbData) {

				JSONObject photoJson=new JSONObject(facebook.getData());
				String dateString=photoJson.getString("created_time");
				SimpleDateFormat incomingFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
				Date date = incomingFormat.parse(dateString);

				FBPhoto photo=new FBPhoto();
				photo.setUrl(photoJson.getString("source"));
				if(photoJson.has("place")){
					photo.setLocation(photoJson.getJSONObject("place").getString("name"));
					JSONObject loc=photoJson.getJSONObject("place").getJSONObject("location");
					photo.setLat(loc.getDouble("latitude"));
					photo.setLon(loc.getDouble("longitude"));
				}
					
				ArrayList<String> tags=new ArrayList<>();
				if(photoJson.has("tags")){
					JSONArray tagArray=photoJson.getJSONObject("tags").getJSONArray("data");
					for (int i=0;i<tagArray.length();i++) {
						tags.add(tagArray.getJSONObject(i).getString("name"));
					}
				}
				photo.setPeople(tags);
				SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
				String time = timeFormat.format(date);
				photo.setTime(time);
				list.add(photo);


			} 
		}
		catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return list;
	}