Reference Guide
facebook FBML Reference Guide Page 92 of 159
protected Map referenceData(HttpServletRequest request) throws Exception {
logger.info("InviteFriendsFormController.referenceData ...");
FacebookRestClient facebookRestClient = getFacebookUtils().getFacebookRestClient(request);
//get the list of friends who are app users so they can be excluded from the invite page
String appUserFriends = getFacebookUtils().getAppUsersFriendsString(facebookRestClient);
HashMap referenceData = new HashMap();
referenceData.put("appUserFriends", appUserFriends);
referenceData.put("apiKey", PropertyUtils.getInstance().getPropertyValue("API_KEY"));
getFacebookUtils().loadUrlData(referenceData);
return referenceData;
}
You can see it in action at The nutshOt network
www.yapish.com










