@RequestMapping(value="/facebook/friendlist", method=RequestMethod.GET)
public String showFeed(Model model) {
List<Reference> friendLists = facebook.friendOperations().getFriendLists();
model.addAttribute("friendLists", friendLists);
//retourner les membres d'amis de la liste
for (int i =0; i< friendLists.size() ;i++) {
System.out.println(friendLists.size());
List<Reference> friendListMembers= facebook.friendOperations().getFriendListMembers(friendLists.get(i).getId());
model.addAttribute("friendListMembers", friendListMembers);
System.out.println(friendLists.get(i).getId());
System.out.println(friendListMembers);
}
我认为问题出在jsp页面中,如何解决。提前致谢